xpram fix: Replace old style module parameter definition with new style.
diffstat:
drivers/s390/block/xpram.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -urN linux-2.6/drivers/s390/block/xpram.c linux-2.6-s390/drivers/s390/block/xpram.c
--- linux-2.6/drivers/s390/block/xpram.c Wed Feb 18 04:58:53 2004
+++ linux-2.6-s390/drivers/s390/block/xpram.c Fri Feb 27 20:05:05 2004
@@ -74,9 +74,10 @@
*/
static int devs = XPRAM_DEVS;
static unsigned int sizes[XPRAM_MAX_DEVS];
+static unsigned int sizes_count;
module_param(devs, int, 0);
-MODULE_PARM(sizes,"1-" __MODULE_STRING(XPRAM_MAX_DEVS) "i");
+module_param_array(sizes, int, sizes_count, 0);
MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \
"the default is " __MODULE_STRING(XPRAM_DEVS) "\n");