igc: make non-global functions static
authorChen Zhou <chenzhou10@huawei.com>
Wed, 8 Jan 2020 13:39:59 +0000 (21:39 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Feb 2020 23:28:51 +0000 (15:28 -0800)
commit38db952b27d27f52c54c713cae487dd16a1c83af
tree2f7a01f3b9d940dda5d0e928e59544eadf784ad0
parent2e05f756c7099c8991142382648a37b0d4c85943
igc: make non-global functions static

Fix sparse warning:
drivers/net/ethernet/intel/igc/igc_ptp.c:512:6:
warning: symbol 'igc_ptp_tx_work' was not declared. Should it be static?
drivers/net/ethernet/intel/igc/igc_ptp.c:644:6:
warning: symbol 'igc_ptp_suspend' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_ptp.c