ieee802154: move ieee802154 header

This patch moves the ieee802154 header into include/linux instead
include/net. Similar like wireless which have the ieee80211 header
inside of include/linux.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Alexander Aring 2014-10-25 09:41:04 +02:00 committed by Marcel Holtmann
parent 86d52cd964
commit 4ca24aca55
14 changed files with 17 additions and 18 deletions

View File

@ -29,8 +29,8 @@
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <linux/ieee802154.h>
#include <net/ieee802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>

View File

@ -21,10 +21,10 @@
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/pinctrl/consumer.h> #include <linux/pinctrl/consumer.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <linux/ieee802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>
#include <net/ieee802154.h>
#define SPI_COMMAND_BUFFER 3 #define SPI_COMMAND_BUFFER 3
#define HIGH 1 #define HIGH 1

View File

@ -25,10 +25,10 @@
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/ieee802154.h>
#include <net/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
#include <net/ieee802154.h>
#include <net/nl802154.h> #include <net/nl802154.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>

View File

@ -18,9 +18,9 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/ieee802154.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>
#include <net/ieee802154.h>
/* MRF24J40 Short Address Registers */ /* MRF24J40 Short Address Registers */
#define REG_RXMCR 0x00 /* Receive MAC control */ #define REG_RXMCR 0x00 /* Receive MAC control */

View File

@ -20,8 +20,8 @@
* Alexander Smirnov <alex.bluesman.smirnov@gmail.com> * Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
*/ */
#ifndef NET_IEEE802154_H #ifndef LINUX_IEEE802154_H
#define NET_IEEE802154_H #define LINUX_IEEE802154_H
#define IEEE802154_MTU 127 #define IEEE802154_MTU 127
@ -186,6 +186,4 @@ enum {
}; };
#endif #endif /* LINUX_IEEE802154_H */

View File

@ -23,10 +23,10 @@
#ifndef IEEE802154_NETDEVICE_H #ifndef IEEE802154_NETDEVICE_H
#define IEEE802154_NETDEVICE_H #define IEEE802154_NETDEVICE_H
#include <net/ieee802154.h>
#include <net/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/ieee802154.h>
struct ieee802154_sechdr { struct ieee802154_sechdr {
#if defined(__LITTLE_ENDIAN_BITFIELD) #if defined(__LITTLE_ENDIAN_BITFIELD)

View File

@ -49,8 +49,8 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/ieee802154.h>
#include <net/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
#include <net/6lowpan.h> #include <net/6lowpan.h>
#include <net/ipv6.h> #include <net/ipv6.h>

View File

@ -23,9 +23,9 @@
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/ieee802154.h>
#include <net/sock.h> #include <net/sock.h>
#include <net/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
#include <asm/ioctls.h> #include <asm/ioctls.h>

View File

@ -14,8 +14,9 @@
* Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> * Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
*/ */
#include <linux/ieee802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
static int static int

View File

@ -22,6 +22,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/ieee802154.h>
#include <net/netlink.h> #include <net/netlink.h>
#include <net/genetlink.h> #include <net/genetlink.h>
#include <net/sock.h> #include <net/sock.h>
@ -29,7 +30,6 @@
#include <linux/export.h> #include <linux/export.h>
#include <net/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/nl802154.h> #include <net/nl802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>

View File

@ -20,13 +20,13 @@
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/ieee802154.h>
#include <net/rtnetlink.h> #include <net/rtnetlink.h>
#include <linux/nl802154.h> #include <linux/nl802154.h>
#include <net/af_ieee802154.h> #include <net/af_ieee802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
#include <net/ieee802154.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>
#include "ieee802154_i.h" #include "ieee802154_i.h"

View File

@ -17,7 +17,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/bug.h> #include <linux/bug.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <net/ieee802154.h> #include <linux/ieee802154.h>
#include <crypto/algapi.h> #include <crypto/algapi.h>
#include "ieee802154_i.h" #include "ieee802154_i.h"

View File

@ -20,8 +20,8 @@
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/ieee802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h> #include <net/ieee802154_netdev.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>

View File

@ -21,8 +21,8 @@
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/crc-ccitt.h> #include <linux/crc-ccitt.h>
#include <linux/ieee802154.h>
#include <net/ieee802154.h>
#include <net/mac802154.h> #include <net/mac802154.h>
#include <net/netlink.h> #include <net/netlink.h>
#include <net/cfg802154.h> #include <net/cfg802154.h>