summaryrefslogtreecommitdiff
path: root/net/mac802154
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2015-07-07 10:50:42 +0530
committerMarcel Holtmann <marcel@holtmann.org>2015-07-23 17:10:50 +0200
commit729a8989b3fa8ae7965c537dfccbd08512e84d3c (patch)
treeb28f3aa9bec591346e68016fb8da78eb08482a24 /net/mac802154
parentf104f06c1b0c93a7c087609e6ab0005e359afab9 (diff)
downloadlinux-rpi3-729a8989b3fa8ae7965c537dfccbd08512e84d3c.tar.gz
linux-rpi3-729a8989b3fa8ae7965c537dfccbd08512e84d3c.tar.bz2
linux-rpi3-729a8989b3fa8ae7965c537dfccbd08512e84d3c.zip
mac802154: do not export ieee802154_rx()
Right now there are no other users for ieee802154_rx() in kernel. So lets remove EXPORT_SYMBOL() for this. Also it moves the function prototype from global header file to local header file. Signed-off-by: Varka Bhadram <varkabhadram@gmail.com> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154')
-rw-r--r--net/mac802154/ieee802154_i.h1
-rw-r--r--net/mac802154/rx.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index 0054f39d499b..eb8502a6e719 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -124,6 +124,7 @@ ieee802154_sdata_running(struct ieee802154_sub_if_data *sdata)
extern struct ieee802154_mlme_ops mac802154_mlme_wpan;
+void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb);
netdev_tx_t
ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
netdev_tx_t
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index 5a258c11ed3b..7791c9b8cb57 100644
--- a/net/mac802154/rx.c
+++ b/net/mac802154/rx.c
@@ -290,7 +290,6 @@ void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb)
drop:
kfree_skb(skb);
}
-EXPORT_SYMBOL(ieee802154_rx);
void
ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb, u8 lqi)