summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorJohnny S. Lee <foss@jsl.io>2022-12-22 22:34:05 +0800
committerDavid S. Miller <davem@davemloft.net>2022-12-26 09:03:44 +0000
commit30e725537546248bddc12eaac2fe0a258917f190 (patch)
tree8b9a9d63ae0574b0a31519165db77104c8d12477 /net/nfc
parent13a7c8964afcd8ca43c0b6001ebb0127baa95362 (diff)
downloadlinux-30e725537546248bddc12eaac2fe0a258917f190.tar.gz
linux-30e725537546248bddc12eaac2fe0a258917f190.tar.bz2
linux-30e725537546248bddc12eaac2fe0a258917f190.zip
net: dsa: mv88e6xxx: depend on PTP conditionally
PTP hardware timestamping related objects are not linked when PTP support for MV88E6xxx (NET_DSA_MV88E6XXX_PTP) is disabled, therefore NET_DSA_MV88E6XXX should not depend on PTP_1588_CLOCK_OPTIONAL regardless of NET_DSA_MV88E6XXX_PTP. Instead, condition more strictly on how NET_DSA_MV88E6XXX_PTP's dependencies are met, making sure that it cannot be enabled when NET_DSA_MV88E6XXX=y and PTP_1588_CLOCK=m. In other words, this commit allows NET_DSA_MV88E6XXX to be built-in while PTP_1588_CLOCK is a module, as long as NET_DSA_MV88E6XXX_PTP is prevented from being enabled. Fixes: e5f31552674e ("ethernet: fix PTP_1588_CLOCK dependencies") Signed-off-by: Johnny S. Lee <foss@jsl.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions