summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-08-29 23:55:05 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:30:30 +0100
commit79bb1ee46ad1b76069108ca9b5467a3c14574744 (patch)
tree3295be3a365a31445fbf9cab10ef779537ac5de0 /net
parentnet: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules (diff)
downloadlinux-79bb1ee46ad1b76069108ca9b5467a3c14574744.tar.xz
linux-79bb1ee46ad1b76069108ca9b5467a3c14574744.zip
net: fix implicit kmod.h usage in bridge/br_stp_if.c
To fix this, once the implicit presence of module.h is removed: net/bridge/br_stp_if.c: In function ‘br_stp_start’: net/bridge/br_stp_if.c:131: error: implicit declaration of function ‘call_usermodehelper’ net/bridge/br_stp_if.c:131: error: ‘UMH_WAIT_PROC’ undeclared (first use in this function) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/bridge/br_stp_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c
index 10eda3cd1d71..19308e305d85 100644
--- a/net/bridge/br_stp_if.c
+++ b/net/bridge/br_stp_if.c
@@ -12,6 +12,7 @@
*/
#include <linux/kernel.h>
+#include <linux/kmod.h>
#include <linux/etherdevice.h>
#include <linux/rtnetlink.h>