Skip to content

Commit

Permalink
ieee802154: move headers out of extra directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Eremin-Solenikov committed Jul 23, 2009
1 parent 878fa89 commit f0166e5
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions drivers/ieee802154/fakehard.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#include <linux/skbuff.h>
#include <linux/if_arp.h>

#include <net/ieee802154/af_ieee802154.h>
#include <net/ieee802154/netdevice.h>
#include <net/ieee802154/mac_def.h>
#include <net/ieee802154/nl802154.h>
#include <net/af_ieee802154.h>
#include <net/ieee802154_netdev.h>
#include <net/ieee802154.h>
#include <net/nl802154.h>

/**
* fake_get_pan_id - Retrieve the PAN ID of the device.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions include/net/ieee802154/mac_def.h → include/net/ieee802154.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
*/

#ifndef IEEE802154_MAC_DEF_H
#define IEEE802154_MAC_DEF_H
#ifndef NET_IEEE802154_H
#define NET_IEEE802154_H

#define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */
#define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions net/ieee802154/af_ieee802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#include <net/tcp_states.h>
#include <net/route.h>

#include <net/ieee802154/af_ieee802154.h>
#include <net/ieee802154/netdevice.h>
#include <net/af_ieee802154.h>
#include <net/ieee802154_netdev.h>

#include "af802154.h"

Expand Down
6 changes: 3 additions & 3 deletions net/ieee802154/dgram.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#include <linux/if_arp.h>
#include <linux/list.h>
#include <net/sock.h>
#include <net/ieee802154/af_ieee802154.h>
#include <net/ieee802154/mac_def.h>
#include <net/ieee802154/netdevice.h>
#include <net/af_ieee802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h>

#include <asm/ioctls.h>

Expand Down
6 changes: 3 additions & 3 deletions net/ieee802154/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#include <net/netlink.h>
#include <net/genetlink.h>
#include <linux/nl802154.h>
#include <net/ieee802154/af_ieee802154.h>
#include <net/ieee802154/nl802154.h>
#include <net/ieee802154/netdevice.h>
#include <net/af_ieee802154.h>
#include <net/nl802154.h>
#include <net/ieee802154_netdev.h>

static unsigned int ieee802154_seq_num;

Expand Down
2 changes: 1 addition & 1 deletion net/ieee802154/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <linux/if_arp.h>
#include <linux/list.h>
#include <net/sock.h>
#include <net/ieee802154/af_ieee802154.h>
#include <net/af_ieee802154.h>

#include "af802154.h"

Expand Down

0 comments on commit f0166e5

Please sign in to comment.