diff options
author | alex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com> | 2012-07-10 17:22:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 10:54:45 -0400 |
commit | 428840424fc54dd2d3f67d3de8b78bb71a479537 (patch) | |
tree | 772cf971f84255d5367ea5508a367e697ab7a11e /net/mac802154/mib.c | |
parent | 79ff1db6d9661974186d51c1ef14d1cab521df49 (diff) |
mac802154: sparse warnings: make symbols static
Make symbols static to avoid the following warning shown up
by sparse:
warning: symbol ... was not declared. Should it be static?
Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154/mib.c')
-rw-r--r-- | net/mac802154/mib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c index 5c66b8f73f02..f47781ab0ccc 100644 --- a/net/mac802154/mib.c +++ b/net/mac802154/mib.c | |||
@@ -39,7 +39,7 @@ struct hw_addr_filt_notify_work { | |||
39 | unsigned long changed; | 39 | unsigned long changed; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | struct mac802154_priv *mac802154_slave_get_priv(struct net_device *dev) | 42 | static struct mac802154_priv *mac802154_slave_get_priv(struct net_device *dev) |
43 | { | 43 | { |
44 | struct mac802154_sub_if_data *priv = netdev_priv(dev); | 44 | struct mac802154_sub_if_data *priv = netdev_priv(dev); |
45 | 45 | ||