summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/siena/efx_common.h
diff options
context:
space:
mode:
authorMartin Habets <habetsm.xilinx@gmail.com>2022-05-11 17:20:01 +0100
committerJakub Kicinski <kuba@kernel.org>2022-05-12 16:49:30 -0700
commit58b6b3d5379de9198c091f08e14d82e67629f96e (patch)
tree9fb6f97f855918d72542519592a4c0e74e828b30 /drivers/net/ethernet/sfc/siena/efx_common.h
parentf62a074525de47fe748ce74b81b95ea05f97b25c (diff)
sfc/siena: Make MCDI logging support specific for Siena
Add a Siena Kconfig option and use it in stead of the sfc one. Rename the internal variable for the 'mcdi_logging_default' module parameter to avoid a naming conflict with the one in sfc.ko. Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena/efx_common.h')
-rw-r--r--drivers/net/ethernet/sfc/siena/efx_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/siena/efx_common.h b/drivers/net/ethernet/sfc/siena/efx_common.h
index 470033611436..aeb92f4e34b7 100644
--- a/drivers/net/ethernet/sfc/siena/efx_common.h
+++ b/drivers/net/ethernet/sfc/siena/efx_common.h
@@ -88,7 +88,7 @@ static inline void efx_schedule_channel_irq(struct efx_channel *channel)
efx_schedule_channel(channel);
}
-#ifdef CONFIG_SFC_MCDI_LOGGING
+#ifdef CONFIG_SFC_SIENA_MCDI_LOGGING
void efx_siena_init_mcdi_logging(struct efx_nic *efx);
void efx_siena_fini_mcdi_logging(struct efx_nic *efx);
#else