summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-02 23:43:04 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-11-02 23:52:02 +0300
commitc5fbbc4683276598ca1bfca95c90c35d1a3d962f (patch)
treed9d30564fcb8d64f7254712e85f22f27631edce1
parentf753f7eeb4178ab8eeaf513a4fdf1c20ddf40474 (diff)
downloadlinux-c5fbbc4683276598ca1bfca95c90c35d1a3d962f.tar.xz
ieee802154: sysfs: add missing include
Running make C=2 occurs in warnings: symbol 'wpan_phy_class' was not declared. Should it be static? symbol 'wpan_phy_sysfs_init' was not declared. Should it be static? symbol 'wpan_phy_sysfs_exit' wasnot declared. Should it be static? This patch adds a missing include "sysfs.h" to solve these warnings. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reported-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--net/ieee802154/sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ieee802154/sysfs.c b/net/ieee802154/sysfs.c
index c6e038099e07..88199980dae9 100644
--- a/net/ieee802154/sysfs.c
+++ b/net/ieee802154/sysfs.c
@@ -18,6 +18,7 @@
#include <net/cfg802154.h>
#include "core.h"
+#include "sysfs.h"
static inline struct cfg802154_registered_device *
dev_to_rdev(struct device *dev)