From: Phoebe Buckheister Date: Wed, 14 May 2014 15:43:11 +0000 (+0200) Subject: mac802154: make mac802154_wpan_open static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6ef0023a2e55b82fc0cd8b420788e55f2e32b64b;p=openwrt%2Fstaging%2Fblogic.git mac802154: make mac802154_wpan_open static This function is only used within the same translation unit, so mark it static. Signed-off-by: Phoebe Buckheister Signed-off-by: David S. Miller --- diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c index bb49e88c460f..ed105774c15d 100644 --- a/net/mac802154/wpan.c +++ b/net/mac802154/wpan.c @@ -124,7 +124,7 @@ void mac802154_get_mac_params(struct net_device *dev, mutex_unlock(&priv->hw->slaves_mtx); } -int mac802154_wpan_open(struct net_device *dev) +static int mac802154_wpan_open(struct net_device *dev) { int rc; struct mac802154_sub_if_data *priv = netdev_priv(dev);