]> 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)
commitf4b9d8ef9eafcd6107cbd01951f150ad9d211b8b
tree4abeb972a4ea40a2708cad9467722a09e4ce79df
parent4fac5c1233303a3adf89a0634c67b1d5fccbc98d
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