net: sxgbe: fix sparse warnings about static declaration
authorByungho An <bh74.an@samsung.com>
Fri, 28 Mar 2014 17:57:36 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2014 18:42:24 +0000 (14:42 -0400)
commit40b92cad5efb9a03cff2f01dc96532e1a6bffa14
tree96c7fabfa01f240fbacdfceb88f5addda753e655
parent1d784724dbb518a63535e79d7074fbaa38305605
net: sxgbe: fix sparse warnings about static declaration

This fixes followings:

sparse warnings: (new ones prefixed by >>)

>> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:197:5:
sparse: symbol 'sxgbe_platform_freeze' was not declared. Should it be static?
>> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:204:5:
sparse: symbol 'sxgbe_platform_restore' was not declared. Should it be static?
>> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:228:24:
sparse: symbol 'sxgbe_platform_driver' was not declared. Should it be static?

>> drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1795:6:
sparse: symbol 'sxgbe_get_ops' was not declared. Should it be static?

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c