Skip to content

Commit 4b09647

Browse files
Heikki KrogerusAndi Shyti
authored andcommitted
net: txgbe: Fix I2C Kconfig dependencies
The dependency handling of the Synopsys DesignWare I2C adapter drivers is going to be changed so that the glue drivers for the platform and PCI buses depend on I2C_DESIGNWARE_CORE. Right now this driver prevents that update because it selects I2C_DESIGNWARE_PLATFORM. To make the dependency on I2C_DESIGNWARE_PLATFORM consistent with the other drivers in kernel that depend on it, and allow the dependency handling of the Synopsys DesignWare I2C drivers to be updated, change the "select" into "depends on". Cc: Jiawen Wu <[email protected]> Cc: Mengyuan Lou <[email protected]> Cc: David S. Miller <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: [email protected] Signed-off-by: Heikki Krogerus <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent 0175b1d commit 4b09647

File tree

1 file changed

+1
-2
lines changed
  • drivers/net/ethernet/wangxun

1 file changed

+1
-2
lines changed

drivers/net/ethernet/wangxun/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ config TXGBE
4141
tristate "Wangxun(R) 10GbE PCI Express adapters support"
4242
depends on PCI
4343
depends on COMMON_CLK
44+
depends on I2C_DESIGNWARE_PLATFORM
4445
select MARVELL_10G_PHY
4546
select REGMAP
46-
select I2C
47-
select I2C_DESIGNWARE_PLATFORM
4847
select PHYLINK
4948
select HWMON if TXGBE=y
5049
select SFP

0 commit comments

Comments
 (0)