]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ieee802154: sysfs: add missing include
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Nov 2014 20:43:04 +0000 (21:43 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 20:52:02 +0000 (21:52 +0100)
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>
net/ieee802154/sysfs.c

index c6e038099e07d426c8c5b1a23a2a21da81fb73d2..88199980dae9398a78008bb34981e6977cb4a203 100644 (file)
@@ -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)