diff options
author | 2023-09-12 20:54:51 +0200 | |
---|---|---|
committer | 2023-09-15 10:36:11 +0100 | |
commit | a8f367f7e131e76713b2949b168ac97f671fce7a (patch) | |
tree | 6a026f1bce18f303c525bdb57768b7fd40175a70 /drivers/net | |
parent | selftests: tls: swap the TX and RX sockets in some tests (diff) | |
download | linux-a8f367f7e131e76713b2949b168ac97f671fce7a.tar.gz linux-a8f367f7e131e76713b2949b168ac97f671fce7a.tar.bz2 linux-a8f367f7e131e76713b2949b168ac97f671fce7a.zip |
net: ti: icssg-prueth: add PTP dependency
The driver can now use PTP if enabled but fails to link built-in
if PTP is a loadable module:
aarch64-linux-ld: drivers/net/ethernet/ti/icssg/icss_iep.o: in function `icss_iep_get_ptp_clock_idx':
icss_iep.c:(.text+0x200): undefined reference to `ptp_clock_index'
Add the usual dependency to avoid this.
Fixes: 186734c158865 ("net: ti: icssg-prueth: add packet timestamping and ptp support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/ti/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index 88b5b1b47779..0a3346650e03 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -199,6 +199,7 @@ config TI_ICSSG_PRUETH config TI_ICSS_IEP tristate "TI PRU ICSS IEP driver" + depends on PTP_1588_CLOCK_OPTIONAL depends on TI_PRUSS default TI_PRUSS help |