MODULE_PARM is deprecated in 2.6. Use the new module_param() macro. [Kevin Corry] --- diff/drivers/md/dm.c 2003-07-31 12:39:05.000000000 +0100 +++ source/drivers/md/dm.c 2003-08-01 09:59:06.000000000 +0100 @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -916,7 +917,7 @@ module_init(dm_init); module_exit(dm_exit); -MODULE_PARM(major, "i"); +module_param(major, uint, 0); MODULE_PARM_DESC(major, "The major number of the device mapper"); MODULE_DESCRIPTION(DM_NAME " driver"); MODULE_AUTHOR("Joe Thornber ");