diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-07-23 08:56:29 -0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-07-23 09:08:51 -0400 |
commit | f0166e5e3cdab66d5a31f796ce18e21fd3ce99dc (patch) | |
tree | dbdd622cfa4fb8cbf127d3b494c9db2eec2a4760 | |
parent | 878fa89f97954337d1dc41f0ccc3a8b5f89cfbc7 (diff) |
ieee802154: move headers out of extra directory
include/net/ieee802154/af_ieee802154.h (and others) naming seems to be too long
and redundant. Drop one level of subdirectories.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r-- | drivers/ieee802154/fakehard.c | 8 | ||||
-rw-r--r-- | include/net/af_ieee802154.h (renamed from include/net/ieee802154/af_ieee802154.h) | 0 | ||||
-rw-r--r-- | include/net/ieee802154.h (renamed from include/net/ieee802154/mac_def.h) | 4 | ||||
-rw-r--r-- | include/net/ieee802154_netdev.h (renamed from include/net/ieee802154/netdevice.h) | 0 | ||||
-rw-r--r-- | include/net/nl802154.h (renamed from include/net/ieee802154/nl802154.h) | 0 | ||||
-rw-r--r-- | net/ieee802154/af_ieee802154.c | 4 | ||||
-rw-r--r-- | net/ieee802154/dgram.c | 6 | ||||
-rw-r--r-- | net/ieee802154/netlink.c | 6 | ||||
-rw-r--r-- | net/ieee802154/raw.c | 2 |
9 files changed, 15 insertions, 15 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c index 9ec07e8552f2..8a52e6efa239 100644 --- a/drivers/ieee802154/fakehard.c +++ b/drivers/ieee802154/fakehard.c | |||
@@ -26,10 +26,10 @@ | |||
26 | #include <linux/skbuff.h> | 26 | #include <linux/skbuff.h> |
27 | #include <linux/if_arp.h> | 27 | #include <linux/if_arp.h> |
28 | 28 | ||
29 | #include <net/ieee802154/af_ieee802154.h> | 29 | #include <net/af_ieee802154.h> |
30 | #include <net/ieee802154/netdevice.h> | 30 | #include <net/ieee802154_netdev.h> |
31 | #include <net/ieee802154/mac_def.h> | 31 | #include <net/ieee802154.h> |
32 | #include <net/ieee802154/nl802154.h> | 32 | #include <net/nl802154.h> |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * fake_get_pan_id - Retrieve the PAN ID of the device. | 35 | * fake_get_pan_id - Retrieve the PAN ID of the device. |
diff --git a/include/net/ieee802154/af_ieee802154.h b/include/net/af_ieee802154.h index 0d78605fb1a6..0d78605fb1a6 100644 --- a/include/net/ieee802154/af_ieee802154.h +++ b/include/net/af_ieee802154.h | |||
diff --git a/include/net/ieee802154/mac_def.h b/include/net/ieee802154.h index 8cb684635650..d52685defb11 100644 --- a/include/net/ieee802154/mac_def.h +++ b/include/net/ieee802154.h | |||
@@ -23,8 +23,8 @@ | |||
23 | * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 23 | * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #ifndef IEEE802154_MAC_DEF_H | 26 | #ifndef NET_IEEE802154_H |
27 | #define IEEE802154_MAC_DEF_H | 27 | #define NET_IEEE802154_H |
28 | 28 | ||
29 | #define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */ | 29 | #define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */ |
30 | #define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */ | 30 | #define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */ |
diff --git a/include/net/ieee802154/netdevice.h b/include/net/ieee802154_netdev.h index e2506af3e7c8..e2506af3e7c8 100644 --- a/include/net/ieee802154/netdevice.h +++ b/include/net/ieee802154_netdev.h | |||
diff --git a/include/net/ieee802154/nl802154.h b/include/net/nl802154.h index 6096096f6d7d..6096096f6d7d 100644 --- a/include/net/ieee802154/nl802154.h +++ b/include/net/nl802154.h | |||
diff --git a/net/ieee802154/af_ieee802154.c b/net/ieee802154/af_ieee802154.c index 3bb6bdb1dac1..69c8d9207aa7 100644 --- a/net/ieee802154/af_ieee802154.c +++ b/net/ieee802154/af_ieee802154.c | |||
@@ -34,8 +34,8 @@ | |||
34 | #include <net/tcp_states.h> | 34 | #include <net/tcp_states.h> |
35 | #include <net/route.h> | 35 | #include <net/route.h> |
36 | 36 | ||
37 | #include <net/ieee802154/af_ieee802154.h> | 37 | #include <net/af_ieee802154.h> |
38 | #include <net/ieee802154/netdevice.h> | 38 | #include <net/ieee802154_netdev.h> |
39 | 39 | ||
40 | #include "af802154.h" | 40 | #include "af802154.h" |
41 | 41 | ||
diff --git a/net/ieee802154/dgram.c b/net/ieee802154/dgram.c index 14d39840dd62..53dd912d52b4 100644 --- a/net/ieee802154/dgram.c +++ b/net/ieee802154/dgram.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include <linux/if_arp.h> | 26 | #include <linux/if_arp.h> |
27 | #include <linux/list.h> | 27 | #include <linux/list.h> |
28 | #include <net/sock.h> | 28 | #include <net/sock.h> |
29 | #include <net/ieee802154/af_ieee802154.h> | 29 | #include <net/af_ieee802154.h> |
30 | #include <net/ieee802154/mac_def.h> | 30 | #include <net/ieee802154.h> |
31 | #include <net/ieee802154/netdevice.h> | 31 | #include <net/ieee802154_netdev.h> |
32 | 32 | ||
33 | #include <asm/ioctls.h> | 33 | #include <asm/ioctls.h> |
34 | 34 | ||
diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c index 27eda9fdf3c2..a615b9d13212 100644 --- a/net/ieee802154/netlink.c +++ b/net/ieee802154/netlink.c | |||
@@ -27,9 +27,9 @@ | |||
27 | #include <net/netlink.h> | 27 | #include <net/netlink.h> |
28 | #include <net/genetlink.h> | 28 | #include <net/genetlink.h> |
29 | #include <linux/nl802154.h> | 29 | #include <linux/nl802154.h> |
30 | #include <net/ieee802154/af_ieee802154.h> | 30 | #include <net/af_ieee802154.h> |
31 | #include <net/ieee802154/nl802154.h> | 31 | #include <net/nl802154.h> |
32 | #include <net/ieee802154/netdevice.h> | 32 | #include <net/ieee802154_netdev.h> |
33 | 33 | ||
34 | static unsigned int ieee802154_seq_num; | 34 | static unsigned int ieee802154_seq_num; |
35 | 35 | ||
diff --git a/net/ieee802154/raw.c b/net/ieee802154/raw.c index fca44d59f97e..ea8d1f15206e 100644 --- a/net/ieee802154/raw.c +++ b/net/ieee802154/raw.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/if_arp.h> | 26 | #include <linux/if_arp.h> |
27 | #include <linux/list.h> | 27 | #include <linux/list.h> |
28 | #include <net/sock.h> | 28 | #include <net/sock.h> |
29 | #include <net/ieee802154/af_ieee802154.h> | 29 | #include <net/af_ieee802154.h> |
30 | 30 | ||
31 | #include "af802154.h" | 31 | #include "af802154.h" |
32 | 32 | ||