summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-25 09:41:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-10-25 21:39:56 +0200
commit5ad60d36993596f7b3b958500f9c66c5338cd855 (patch)
treeb3fda3bd1d612534ee189592c247cca700d90e23 /include
parent15859a5e141c4914c7c4d9dc9b2d54fa948fbd42 (diff)
downloadlinux-5ad60d36993596f7b3b958500f9c66c5338cd855.tar.bz2
ieee802154: move wpan-phy.h to cfg802154.h
The wpan-phy header contains the wpan_phy struct information. Later this header will be have similar function like cfg80211 header. The cfg80211 header contains the wiphy struct which is identically the wpan_phy struct inside 802.15.4 subsystem. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Alan Ott <alan@signal11.us> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg802154.h (renamed from include/net/wpan-phy.h)7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/wpan-phy.h b/include/net/cfg802154.h
index 1e9795f116ba..5c674673ef20 100644
--- a/include/net/wpan-phy.h
+++ b/include/net/cfg802154.h
@@ -14,8 +14,8 @@
* Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
*/
-#ifndef WPAN_PHY_H
-#define WPAN_PHY_H
+#ifndef __NET_CFG802154_H
+#define __NET_CFG802154_H
#include <linux/netdevice.h>
#include <linux/mutex.h>
@@ -99,4 +99,5 @@ static inline const char *wpan_phy_name(struct wpan_phy *phy)
{
return dev_name(&phy->dev);
}
-#endif
+
+#endif /* __NET_CFG802154_H */