1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/renesas
Niklas Söderlund 078e075703 net: ethernet: renesas: rcar_gen4_ptp: Depend on PTP_1588_CLOCK
When breaking out the Gen4 gPTP support to its own module the dependency
on the PTP_1588_CLOCK framework was left as optional and only stated for
the driver using the module. This leads to issues when doing
COMPILE_TEST of RENESAS_GEN4_PTP separately and PTP_1588_CLOCK is built
as a module and the other as a built-in. Add an explicit depend on
PTP_1588_CLOCK.

While at it remove the optional support for PTP_1588_CLOCK from
RENESAS_ETHER_SWITCH as the driver unconditionally calls the Gen4 gPTP
module and thus also requires the PTP_1588_CLOCK framework.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 8c1c66235e ("net: ethernet: renesas: rcar_gen4_ptp: Break out to module")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20231129111142.3322667-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-12-01 20:17:55 -08:00
..
Kconfig net: ethernet: renesas: rcar_gen4_ptp: Depend on PTP_1588_CLOCK 2023-12-01 20:17:55 -08:00
Makefile net: ethernet: renesas: rcar_gen4_ptp: Break out to module 2023-11-23 12:02:49 +01:00
ravb.h ravb: Add RZ/G2L MII interface support 2022-09-20 08:39:46 -07:00
ravb_main.c net: ravb: Keep reverse order of operations in ravb_remove() 2023-11-30 10:59:07 +01:00
ravb_ptp.c ptp: ravb: convert to .adjfine and adjust_by_scaled_ppm 2022-10-31 11:14:16 +00:00
rcar_gen4_ptp.c net: ethernet: renesas: rcar_gen4_ptp: Break out to module 2023-11-23 12:02:49 +01:00
rcar_gen4_ptp.h net: ethernet: renesas: rcar_gen4_ptp: Get clock increment from clock rate 2023-11-23 12:02:49 +01:00
rswitch.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-11-30 16:11:19 -08:00
rswitch.h rswitch: Use unsigned int for port related array index 2023-10-19 10:59:33 +02:00
sh_eth.c net: ethernet: renesas: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
sh_eth.h Revert "sh_eth: remove open coded netif_running()" 2023-03-28 19:23:32 -07:00