summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-08-29 17:55:05 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:30 -0400
commit79bb1ee46ad1b76069108ca9b5467a3c14574744 (patch)
tree3295be3a365a31445fbf9cab10ef779537ac5de0 /net/bridge
parentbc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf (diff)
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/bridge')
-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>