mirror_ubuntu-kernels/drivers/net/ethernet/microchip
Horatiu Vultur 1da52b0e47 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: d096459494 ("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>
2022-02-13 15:57:03 +00:00
..
lan966x net: lan966x: Fix when CONFIG_PTP_1588_CLOCK is compiled as module 2022-02-13 15:57:03 +00:00
sparx5 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-10 17:29:56 -08:00
enc28j60_hw.h
enc28j60.c ethernet: make more use of device_get_ethdev_address() 2021-10-07 13:39:51 +01:00
encx24j600_hw.h net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-13 15:25:25 -07:00
encx24j600-regmap.c net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-13 15:25:25 -07:00
encx24j600.c ethernet: use eth_hw_addr_set() in unmaintained drivers 2021-10-18 13:20:38 +01:00
Kconfig net: lan966x: add the basic lan966x driver 2021-11-29 12:58:38 +00:00
lan743x_ethtool.c net: use bool values to pass bool param of phy_init_eee() 2022-01-24 17:09:56 -08:00
lan743x_ethtool.h lan743x: Add support for ethtool get_drvinfo 2018-07-23 14:09:18 -07:00
lan743x_main.c net: lan743x: Add support for Clause-45 MDIO PHY management 2022-02-13 12:07:26 +00:00
lan743x_main.h net: lan743x: Add support for Clause-45 MDIO PHY management 2022-02-13 12:07:26 +00:00
lan743x_ptp.c net: lan743x: Add support for 4 Tx queues 2022-02-13 12:07:26 +00:00
lan743x_ptp.h Support LAN743x PTP periodic output on any GPIO 2019-11-11 12:46:56 -08:00
Makefile net: lan966x: add the basic lan966x driver 2021-11-29 12:58:38 +00:00