]> git.ipfire.org Git - thirdparty/linux.git/commit
net: ti: icssg-prueth: add PTP_1588_CLOCK_OPTIONAL dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Dec 2025 10:01:28 +0000 (11:01 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Dec 2025 08:49:56 +0000 (00:49 -0800)
commit9e7477a427449a8a3cd00c188e20a880e3d94638
tree45ad373607e2f7ba91339ee042fba0b01fc0706b
parent5ace7ef87f059d68b5f50837ef3e8a1a4870c36e
net: ti: icssg-prueth: add PTP_1588_CLOCK_OPTIONAL dependency

The new icssg-prueth driver needs the same dependency as the other parts
that use the ptp-1588:

WARNING: unmet direct dependencies detected for TI_ICSS_IEP
  Depends on [m]: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TI [=y] && PTP_1588_CLOCK_OPTIONAL [=m] && TI_PRUSS [=y]
  Selected by [y]:
  - TI_PRUETH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TI [=y] && PRU_REMOTEPROC [=y] && NET_SWITCHDEV [=y]

Add the correct dependency on the two drivers missing it, and remove
the pointless 'imply' in the process.

Fixes: e654b85a693e ("net: ti: icssg-prueth: Add ICSSG Ethernet driver for AM65x SR1.0 platforms")
Fixes: 511f6c1ae093 ("net: ti: icssm-prueth: Adds ICSSM Ethernet driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20251204100138.1034175-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/Kconfig