]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
net: fix implicit kmod.h usage in bridge/br_stp_if.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 29 Aug 2011 21:55:05 +0000 (17:55 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:30 +0000 (19:30 -0400)
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>
net/bridge/br_stp_if.c

index 10eda3cd1d7112759d46d245386c260ca265ca11..19308e305d851a89044434315a86d2e9ca9dc549 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/kmod.h>
 #include <linux/etherdevice.h>
 #include <linux/rtnetlink.h>