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: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
parent 878fa89f
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <net/ieee802154/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154/netdevice.h> #include <net/ieee802154_netdev.h>
#include <net/ieee802154/mac_def.h> #include <net/ieee802154.h>
#include <net/ieee802154/nl802154.h> #include <net/nl802154.h>
/** /**
* fake_get_pan_id - Retrieve the PAN ID of the device. * fake_get_pan_id - Retrieve the PAN ID of the device.
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
* Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
*/ */
#ifndef IEEE802154_MAC_DEF_H #ifndef NET_IEEE802154_H
#define IEEE802154_MAC_DEF_H #define NET_IEEE802154_H
#define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */ #define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */
#define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */ #define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
#include <net/tcp_states.h> #include <net/tcp_states.h>
#include <net/route.h> #include <net/route.h>
#include <net/ieee802154/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154/netdevice.h> #include <net/ieee802154_netdev.h>
#include "af802154.h" #include "af802154.h"
......
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/list.h> #include <linux/list.h>
#include <net/sock.h> #include <net/sock.h>
#include <net/ieee802154/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154/mac_def.h> #include <net/ieee802154.h>
#include <net/ieee802154/netdevice.h> #include <net/ieee802154_netdev.h>
#include <asm/ioctls.h> #include <asm/ioctls.h>
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
#include <net/netlink.h> #include <net/netlink.h>
#include <net/genetlink.h> #include <net/genetlink.h>
#include <linux/nl802154.h> #include <linux/nl802154.h>
#include <net/ieee802154/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154/nl802154.h> #include <net/nl802154.h>
#include <net/ieee802154/netdevice.h> #include <net/ieee802154_netdev.h>
static unsigned int ieee802154_seq_num; static unsigned int ieee802154_seq_num;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/list.h> #include <linux/list.h>
#include <net/sock.h> #include <net/sock.h>
#include <net/ieee802154/af_ieee802154.h> #include <net/af_ieee802154.h>
#include "af802154.h" #include "af802154.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment