Skip to content

Commit

Permalink
mac802154: make mac802154_wpan_open static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Phoebe Buckheister authored and David S. Miller committed May 15, 2014
1 parent 1cc76e3 commit 6ef0023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac802154/wpan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ef0023

Please sign in to comment.