diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2022-04-01 08:42:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-01 14:06:29 +0300 |
commit | c3efcedd272aa6dd5929e20cf902a52ddaa1197a (patch) | |
tree | 8f184cb6a94ef5b4f87413efed1bbcfce5f71f13 /net/ipv4 | |
parent | f41bdd49afef32e63c61c3011fef53c463710169 (diff) | |
download | linux-c3efcedd272aa6dd5929e20cf902a52ddaa1197a.tar.xz |
net: micrel: fix KS8851_MLL Kconfig
KS8851_MLL selects MICREL_PHY, which depends on PTP_1588_CLOCK_OPTIONAL,
so make KS8851_MLL also depend on PTP_1588_CLOCK_OPTIONAL since
'select' does not follow any dependency chains.
Fixes kconfig warning and build errors:
WARNING: unmet direct dependencies detected for MICREL_PHY
Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && PTP_1588_CLOCK_OPTIONAL [=m]
Selected by [y]:
- KS8851_MLL [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICREL [=y] && HAS_IOMEM [=y]
ld: drivers/net/phy/micrel.o: in function `lan8814_ts_info':
micrel.c:(.text+0xb35): undefined reference to `ptp_clock_index'
ld: drivers/net/phy/micrel.o: in function `lan8814_probe':
micrel.c:(.text+0x2586): undefined reference to `ptp_clock_register'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions