summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>2014-05-14 17:43:11 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-15 15:51:43 -0400
commit6ef0023a2e55b82fc0cd8b420788e55f2e32b64b (patch)
treefab533ed3b08a008f74e03c747fc5ac5581cfce9
parent1cc76e365405eae54a15e86b5d75ee885cd7d891 (diff)
downloadop-kernel-dev-6ef0023a2e55b82fc0cd8b420788e55f2e32b64b.zip
op-kernel-dev-6ef0023a2e55b82fc0cd8b420788e55f2e32b64b.tar.gz
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 <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/mac802154/wpan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
index bb49e88..ed10577 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);
OpenPOWER on IntegriCloud