drivers: eth_sam_gmac: Use CONFIG_PTP_CLOCK_INIT_PRIORITY to init ptp
Use dedicated Kconfig symbol to set init priority. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
parent
72b3c3ea3a
commit
b302308e5f
|
@ -2494,6 +2494,6 @@ static int ptp_gmac_init(const struct device *port)
|
|||
|
||||
DEVICE_DEFINE(gmac_ptp_clock_0, PTP_CLOCK_NAME, ptp_gmac_init,
|
||||
NULL, &ptp_gmac_0_context, NULL, POST_KERNEL,
|
||||
CONFIG_APPLICATION_INIT_PRIORITY, &ptp_api);
|
||||
CONFIG_PTP_CLOCK_INIT_PRIORITY, &ptp_api);
|
||||
|
||||
#endif /* CONFIG_PTP_CLOCK_SAM_GMAC */
|
||||
|
|
Loading…
Reference in a new issue