sfc: Remove unnecessary dependencies on I2C
Subsystems (3)
PATCH 1/1 sfc: Remove unnecessary dependencies on I2C
Only the SFC4000 code, now moved to sfc-falcon, needed I2C.
Signed-off-by Ben Hutchings <[email protected]>
--- drivers/net/ethernet/sfc/Kconfig | 2 -- drivers/net/ethernet/sfc/net_driver.h | 1 - drivers/net/ethernet/sfc/nic.h | 1 - 3 files changed, 4 deletions(-)
drivers/net/ethernet/sfc/Kconfig +0 -2
@@ -21,8 +21,6 @@ config SFC depends on PCI select MDIO select CRC32 - select I2C - select I2C_ALGOBIT imply PTP_1588_CLOCK ---help--- This driver supports 10/40-gigabit Ethernet cards based on
drivers/net/ethernet/sfc/net_driver.h +0 -1
@@ -24,7 +24,6 @@#include <linux/mutex.h> #include <linux/rwsem.h> #include <linux/vmalloc.h> -#include <linux/i2c.h> #include <linux/mtd/mtd.h> #include <net/busy_poll.h> #include <net/xdp.h>
drivers/net/ethernet/sfc/nic.h +0 -1
@@ -9,7 +9,6 @@#define EFX_NIC_H #include <linux/net_tstamp.h> -#include <linux/i2c-algo-bit.h> #include "net_driver.h" #include "efx.h" #include "mcdi.h"
Quoted 3 lines · Ben Hutchings
Only the SFC4000 code, now moved to sfc-falcon, needed I2C.
Signed-off-by Ben Hutchings <[email protected]>
Acked-by Edward Cree <[email protected]>
Thanks Ben!
From: Ben Hutchings <[email protected]>
Date: Tue, 31 Dec 2019 16:59:08 +0000
Quoted 3 lines
Only the SFC4000 code, now moved to sfc-falcon, needed I2C.
Signed-off-by Ben Hutchings <[email protected]>
Applied.