diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-25 03:41:00 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-25 15:39:55 -0400 |
commit | 0f1556bc2b152fc5d2a6b929c579748ec90c55d0 (patch) | |
tree | 46f46ede357338dd42ccb31098b4951eea762040 | |
parent | 62eb01f5c2d735e8aeab6bc95e5832cb59397527 (diff) |
mac802154: move mac802154.h to ieee802154_i.h
This patch moves the mac802154.h internal header to ieee802154_i.h like
the wireless stack ieee80211_i.h file. This avoids confusing with the
not internal header include/net/mac802154.h header. Additional we get
the same naming conversion like mac80211 for this file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | net/mac802154/ieee802154_i.h (renamed from net/mac802154/mac802154.h) | 6 | ||||
-rw-r--r-- | net/mac802154/llsec.c | 2 | ||||
-rw-r--r-- | net/mac802154/mac_cmd.c | 2 | ||||
-rw-r--r-- | net/mac802154/main.c | 2 | ||||
-rw-r--r-- | net/mac802154/mib.c | 2 | ||||
-rw-r--r-- | net/mac802154/monitor.c | 2 | ||||
-rw-r--r-- | net/mac802154/rx.c | 2 | ||||
-rw-r--r-- | net/mac802154/tx.c | 2 | ||||
-rw-r--r-- | net/mac802154/wpan.c | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/net/mac802154/mac802154.h b/net/mac802154/ieee802154_i.h index e3503c1bc04e..970b621fc50b 100644 --- a/net/mac802154/mac802154.h +++ b/net/mac802154/ieee802154_i.h | |||
@@ -16,8 +16,8 @@ | |||
16 | * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 16 | * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
17 | * Alexander Smirnov <alex.bluesman.smirnov@gmail.com> | 17 | * Alexander Smirnov <alex.bluesman.smirnov@gmail.com> |
18 | */ | 18 | */ |
19 | #ifndef MAC802154_H | 19 | #ifndef __IEEE802154_I_H |
20 | #define MAC802154_H | 20 | #define __IEEE802154_I_H |
21 | 21 | ||
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | #include <net/mac802154.h> | 23 | #include <net/mac802154.h> |
@@ -165,4 +165,4 @@ void mac802154_get_table(struct net_device *dev, | |||
165 | struct ieee802154_llsec_table **t); | 165 | struct ieee802154_llsec_table **t); |
166 | void mac802154_unlock_table(struct net_device *dev); | 166 | void mac802154_unlock_table(struct net_device *dev); |
167 | 167 | ||
168 | #endif /* MAC802154_H */ | 168 | #endif /* __IEEE802154_I_H */ |
diff --git a/net/mac802154/llsec.c b/net/mac802154/llsec.c index 457058142098..26f876128ae0 100644 --- a/net/mac802154/llsec.c +++ b/net/mac802154/llsec.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <net/ieee802154.h> | 20 | #include <net/ieee802154.h> |
21 | #include <crypto/algapi.h> | 21 | #include <crypto/algapi.h> |
22 | 22 | ||
23 | #include "mac802154.h" | 23 | #include "ieee802154_i.h" |
24 | #include "llsec.h" | 24 | #include "llsec.h" |
25 | 25 | ||
26 | static void llsec_key_put(struct mac802154_llsec_key *key); | 26 | static void llsec_key_put(struct mac802154_llsec_key *key); |
diff --git a/net/mac802154/mac_cmd.c b/net/mac802154/mac_cmd.c index 85f70edbe8dd..7c4b05ba2fe1 100644 --- a/net/mac802154/mac_cmd.c +++ b/net/mac802154/mac_cmd.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <net/mac802154.h> | 27 | #include <net/mac802154.h> |
28 | #include <net/nl802154.h> | 28 | #include <net/nl802154.h> |
29 | 29 | ||
30 | #include "mac802154.h" | 30 | #include "ieee802154_i.h" |
31 | 31 | ||
32 | static int mac802154_mlme_start_req(struct net_device *dev, | 32 | static int mac802154_mlme_start_req(struct net_device *dev, |
33 | struct ieee802154_addr *addr, | 33 | struct ieee802154_addr *addr, |
diff --git a/net/mac802154/main.c b/net/mac802154/main.c index 086d4a91ae45..d11e42ae10d6 100644 --- a/net/mac802154/main.c +++ b/net/mac802154/main.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <net/route.h> | 27 | #include <net/route.h> |
28 | #include <net/wpan-phy.h> | 28 | #include <net/wpan-phy.h> |
29 | 29 | ||
30 | #include "mac802154.h" | 30 | #include "ieee802154_i.h" |
31 | 31 | ||
32 | int mac802154_slave_open(struct net_device *dev) | 32 | int mac802154_slave_open(struct net_device *dev) |
33 | { | 33 | { |
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c index 3ee604292238..91cd3b260243 100644 --- a/net/mac802154/mib.c +++ b/net/mac802154/mib.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <net/ieee802154_netdev.h> | 23 | #include <net/ieee802154_netdev.h> |
24 | #include <net/wpan-phy.h> | 24 | #include <net/wpan-phy.h> |
25 | 25 | ||
26 | #include "mac802154.h" | 26 | #include "ieee802154_i.h" |
27 | 27 | ||
28 | struct phy_chan_notify_work { | 28 | struct phy_chan_notify_work { |
29 | struct work_struct work; | 29 | struct work_struct work; |
diff --git a/net/mac802154/monitor.c b/net/mac802154/monitor.c index 81249bb7c935..2647a9e002ea 100644 --- a/net/mac802154/monitor.c +++ b/net/mac802154/monitor.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <net/wpan-phy.h> | 28 | #include <net/wpan-phy.h> |
29 | #include <linux/nl802154.h> | 29 | #include <linux/nl802154.h> |
30 | 30 | ||
31 | #include "mac802154.h" | 31 | #include "ieee802154_i.h" |
32 | 32 | ||
33 | static netdev_tx_t mac802154_monitor_xmit(struct sk_buff *skb, | 33 | static netdev_tx_t mac802154_monitor_xmit(struct sk_buff *skb, |
34 | struct net_device *dev) | 34 | struct net_device *dev) |
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index e99d9394d13a..bc6cffd51f94 100644 --- a/net/mac802154/rx.c +++ b/net/mac802154/rx.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <net/mac802154.h> | 26 | #include <net/mac802154.h> |
27 | #include <net/ieee802154_netdev.h> | 27 | #include <net/ieee802154_netdev.h> |
28 | 28 | ||
29 | #include "mac802154.h" | 29 | #include "ieee802154_i.h" |
30 | 30 | ||
31 | /* The IEEE 802.15.4 standard defines 4 MAC packet types: | 31 | /* The IEEE 802.15.4 standard defines 4 MAC packet types: |
32 | * - beacon frame | 32 | * - beacon frame |
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c index 95ea412395c7..ef11cc6fa323 100644 --- a/net/mac802154/tx.c +++ b/net/mac802154/tx.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <net/mac802154.h> | 25 | #include <net/mac802154.h> |
26 | #include <net/wpan-phy.h> | 26 | #include <net/wpan-phy.h> |
27 | 27 | ||
28 | #include "mac802154.h" | 28 | #include "ieee802154_i.h" |
29 | 29 | ||
30 | /* IEEE 802.15.4 transceivers can sleep during the xmit session, so process | 30 | /* IEEE 802.15.4 transceivers can sleep during the xmit session, so process |
31 | * packets through the workqueue. | 31 | * packets through the workqueue. |
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c index b11a98d824e0..5adcbd87a4f5 100644 --- a/net/mac802154/wpan.c +++ b/net/mac802154/wpan.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <net/ieee802154.h> | 29 | #include <net/ieee802154.h> |
30 | #include <net/wpan-phy.h> | 30 | #include <net/wpan-phy.h> |
31 | 31 | ||
32 | #include "mac802154.h" | 32 | #include "ieee802154_i.h" |
33 | 33 | ||
34 | static int mac802154_wpan_update_llsec(struct net_device *dev) | 34 | static int mac802154_wpan_update_llsec(struct net_device *dev) |
35 | { | 35 | { |