mac802154: cfg: add missing include
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Nov 2014 20:43:05 +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 warning:

symbol 'mac802154_config_ops' was not declared. Should it be static?

This patch adds a missing include in cfg.c to solve this warning.

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/mac802154/cfg.c

index 75a5d258ac24efb5c4e6607c6dad8c6bed028746..0c69b44ba312f27e507295f4e890ae34a655ce80 100644 (file)
@@ -16,6 +16,7 @@
 #include <net/cfg802154.h>
 
 #include "ieee802154_i.h"
+#include "cfg.h"
 
 static struct net_device *
 ieee802154_add_iface_deprecated(struct wpan_phy *wpan_phy,