patch-2.2.0-pre8 linux/include/linux/kmod.h
Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/if_pppvar.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Jan 18 17:33:48 1999
- Orig file:
v2.2.0-pre7/linux/include/linux/kmod.h
- Orig date:
Tue Mar 17 22:18:15 1998
diff -u --recursive --new-file v2.2.0-pre7/linux/include/linux/kmod.h linux/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
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov