#include #include static int fail=0; static char modname[40] = { '\0' }; static char *load = modname; #if LINUX_VERSION_CODE >= 131584 /* 2.2.0 */ #include MODULE_PARM(fail, "i"); MODULE_PARM(load, "s"); #else #include #endif int init_module(void) { printk("fail=%d\n", fail); printk("load=<%s>\n", load); if (load[0]) request_module(load); return fail; } void cleanup_module(void) { }