We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aabb2bb commit 5287be4Copy full SHA for 5287be4
drivers/net/dsa/ocelot/felix.c
@@ -501,13 +501,15 @@ static struct ptp_clock_info ocelot_ptp_clock_info = {
501
.max_adj = 0x7fffffff,
502
.n_alarm = 0,
503
.n_ext_ts = 0,
504
- .n_per_out = 0,
505
- .n_pins = 0,
+ .n_per_out = OCELOT_PTP_PINS_NUM,
+ .n_pins = OCELOT_PTP_PINS_NUM,
506
.pps = 0,
507
.gettime64 = ocelot_ptp_gettime64,
508
.settime64 = ocelot_ptp_settime64,
509
.adjtime = ocelot_ptp_adjtime,
510
.adjfine = ocelot_ptp_adjfine,
511
+ .verify = ocelot_ptp_verify,
512
+ .enable = ocelot_ptp_enable,
513
};
514
515
/* Hardware initialization done here so that we can allocate structures with
0 commit comments