summaryrefslogtreecommitdiffstats
path: root/include/linux/kmod.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
commit86464aed71025541805e7b1515541aee89879e33 (patch)
treee01a457a4912a8553bc65524aa3125d51f29f810 /include/linux/kmod.h
parent88f99939ecc6a95a79614574cb7d95ffccfc3466 (diff)
Merge with Linux 2.2.1.
Diffstat (limited to 'include/linux/kmod.h')
-rw-r--r--include/linux/kmod.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h
index 876c7f222..7392910d3 100644
--- a/include/linux/kmod.h
+++ b/include/linux/kmod.h
@@ -1,4 +1,12 @@
/*
kmod header
*/
+
+#include <linux/config.h>
+
+#ifdef CONFIG_KMOD
extern int request_module(const char * name);
+#else
+#define request_module(x) do {} while(0)
+#endif
+