diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-04-29 10:19:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-30 17:20:18 +0300 |
commit | 48cec73a891cca087fbc7791c4753784180991a9 (patch) | |
tree | bd1d9586a16a50b18fb4a481ebfdacfb203c2749 /drivers/net/phy/marvell.c | |
parent | 2e47eece158a7e5d2205be42e9c44b87302de1a7 (diff) | |
download | linux-48cec73a891cca087fbc7791c4753784180991a9.tar.xz |
net: lan966x: Fix compilation error
Starting from the blamed commit, the lan966x build fails with the
following compilation error:
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c:342:9: error: implicit declaration of function ‘ptp_find_pin_unlocked’ [-Werror=implicit-function-declaration]
342 | pin = ptp_find_pin_unlocked(phc->clock, PTP_PF_EXTTS, 0);
The issue is that there is no stub function for ptp_find_pin_unlocked
in case CONFIG_PTP_1588_CLOCK is not selected. Therefore add one.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: f3d8e0a9c28ba0 ("net: lan966x: Add support for PTP_PF_EXTTS")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/marvell.c')
0 files changed, 0 insertions, 0 deletions