]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: idt82p33: Make two variables static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 18 Apr 2020 02:01:49 +0000 (10:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:02:56 +0000 (11:02 -0700)
commit7aa99bb195300d9485722e91deff259b40ef016b
tree4abeb972a4ea40a2708cad9467722a09e4ce79df
parent1bf8f8dda9d49348dd7c8e4ac99233bd40e0142c
ptp: idt82p33: Make two variables static

Fix sparse warnings:

drivers/ptp/ptp_idt82p33.c:26:5: warning: symbol 'sync_tod_timeout' was not declared. Should it be static?
drivers/ptp/ptp_idt82p33.c:31:5: warning: symbol 'phase_snap_threshold' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_idt82p33.c