]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: txgbe: Fix I2C Kconfig dependencies
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 3 Sep 2024 14:25:05 +0000 (17:25 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:36:54 +0000 (00:36 +0200)
commit4b09647531ee8ba52fa334482dd5e1ff1ab824be
tree723a6063e6751ad1d65e9494d1b18fc5840bd7e3
parent0175b1d3c6dffa3e0d40f1c8ba1e0ce23f1d786d
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 <jiawenwu@trustnetic.com>
Cc: Mengyuan Lou <mengyuanlou@net-swift.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/net/ethernet/wangxun/Kconfig