]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: Mark functions as static in stmmac_platform.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 08:49:44 +0000 (14:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 23:51:20 +0000 (18:51 -0500)
commit2965bb49cf5b8af3e431a30452db09ddb6c5b42b
tree44d5aa0a168b361f8c2657e0bb2a3d443b509f71
parenta4e8b83173b362158c0427b199b375583cc9cb29
drivers: net: Mark functions as static in stmmac_platform.c

This patch marks the function stmmac_pltfr_freeze() and
stmmac_pltfr_restore() in stmmac_platform.c as static because they are
not used outside this file.

Thus, it also removes the following warnings in
ethernet/stmicro/stmmac/stmmac_platform.c:

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:222:5: warning: no previous prototype for ‘stmmac_pltfr_freeze’ [-Wmissing-prototypes]
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:236:5: warning: no previous prototype for ‘stmmac_pltfr_restore’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c