diff options
author | Martin Habets <habetsm.xilinx@gmail.com> | 2022-05-11 17:19:24 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-12 16:49:29 -0700 |
commit | 65d4b471b3cf635565d0f36294fc47685bf659b1 (patch) | |
tree | fb00712f655cdd93ac3005b0f38319945e88e3ff /drivers/net/ethernet/sfc/siena/efx.h | |
parent | 75db72de1f744f8fe1e4eb8da4c305741d02c52f (diff) |
siena: Make MTD support specific for Siena
Add a Siena Kconfig option and use it in stead of the sfc one.
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.h')
-rw-r--r-- | drivers/net/ethernet/sfc/siena/efx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/siena/efx.h b/drivers/net/ethernet/sfc/siena/efx.h index f91f3c94a275..1d9755e59d75 100644 --- a/drivers/net/ethernet/sfc/siena/efx.h +++ b/drivers/net/ethernet/sfc/siena/efx.h @@ -162,7 +162,7 @@ void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, void efx_siena_update_sw_stats(struct efx_nic *efx, u64 *stats); /* MTD */ -#ifdef CONFIG_SFC_MTD +#ifdef CONFIG_SFC_SIENA_MTD int efx_siena_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts, size_t n_parts, size_t sizeof_part); static inline int efx_mtd_probe(struct efx_nic *efx) |