diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-02-12 21:45:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-13 15:57:03 +0000 |
commit | 1da52b0e4724792cff7ff0a5ab4ee547bcaee11b (patch) | |
tree | ec40562588d033e0bc5779b68e212fc96603094a /net/switchdev/switchdev.c | |
parent | 48927142bcba5e149d2d3931d04b200ef4b9e96b (diff) | |
download | linux-1da52b0e4724792cff7ff0a5ab4ee547bcaee11b.tar.gz linux-1da52b0e4724792cff7ff0a5ab4ee547bcaee11b.tar.bz2 linux-1da52b0e4724792cff7ff0a5ab4ee547bcaee11b.zip |
net: lan966x: Fix when CONFIG_PTP_1588_CLOCK is compiled as module
When CONFIG_PTP_1588_CLOCK is compiled as a module, then the linking of
the lan966x fails because it can't find references to the following
functions 'ptp_clock_index', 'ptp_clock_register' and
'ptp_clock_unregister'
The fix consists in adding CONFIG_PTP_1588_CLOCK_OPTIONAL as a
dependency for the driver.
Fixes: d096459494a887 ("net: lan966x: Add support for ptp clocks")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions