diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-06 11:21:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-07 01:58:59 +0300 |
commit | 3f591997b1484cbf869d21b511c8d84902444cfb (patch) | |
tree | b8e8eb9e850ab0000faf84d92248ef5d65663347 /kernel/events | |
parent | e0c79ff6286f534f3e9fadab529b0ce1e2c6d917 (diff) | |
download | linux-3f591997b1484cbf869d21b511c8d84902444cfb.tar.xz |
net: arc_emac: mark arc_mdio_reset() static
We get 1 warning when building kernel with W=1:
drivers/net/ethernet/arc/emac_mdio.c:107:5: warning: no previous prototype for 'arc_mdio_reset' [-Wmissing-prototypes]
In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions