diff options
Diffstat (limited to 'drivers/net/sfc/efx.h')
-rw-r--r-- | drivers/net/sfc/efx.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index d02937b70eee..dd0d45b9e71f 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
@@ -58,6 +58,16 @@ extern int efx_port_dummy_op_int(struct efx_nic *efx); | |||
58 | extern void efx_port_dummy_op_void(struct efx_nic *efx); | 58 | extern void efx_port_dummy_op_void(struct efx_nic *efx); |
59 | extern void efx_port_dummy_op_blink(struct efx_nic *efx, bool blink); | 59 | extern void efx_port_dummy_op_blink(struct efx_nic *efx, bool blink); |
60 | 60 | ||
61 | /* MTD */ | ||
62 | #ifdef CONFIG_SFC_MTD | ||
63 | extern int efx_mtd_probe(struct efx_nic *efx); | ||
64 | extern void efx_mtd_rename(struct efx_nic *efx); | ||
65 | extern void efx_mtd_remove(struct efx_nic *efx); | ||
66 | #else | ||
67 | static inline int efx_mtd_probe(struct efx_nic *efx) { return 0; } | ||
68 | static inline void efx_mtd_rename(struct efx_nic *efx) {} | ||
69 | static inline void efx_mtd_remove(struct efx_nic *efx) {} | ||
70 | #endif | ||
61 | 71 | ||
62 | extern unsigned int efx_monitor_interval; | 72 | extern unsigned int efx_monitor_interval; |
63 | 73 | ||