Fixes: 49268f31cc1f ("ptp: Add a driver for InES time stamping IP core.") Signed-off-by: kbuild test robot <lkp@xxxxxxxxx> --- ptp_ines.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ptp/ptp_ines.c b/drivers/ptp/ptp_ines.c index 59cb3f1..52c1e85 100644 --- a/drivers/ptp/ptp_ines.c +++ b/drivers/ptp/ptp_ines.c @@ -753,8 +753,8 @@ static u8 tag_to_msgtype(u8 tag) return 0xf; } -struct mii_timestamper *ines_ptp_probe_channel(struct device *device, - unsigned int index) +static struct mii_timestamper *ines_ptp_probe_channel(struct device *device, + unsigned int index) { struct device_node *node = device->of_node; struct ines_port *port; @@ -782,7 +782,7 @@ static void ines_ptp_release_channel(struct device *device, { } -struct mii_timestamping_ctrl ines_ctrl = { +static struct mii_timestamping_ctrl ines_ctrl = { .probe_channel = ines_ptp_probe_channel, .release_channel = ines_ptp_release_channel, };