[PATCH] s390 (5/5): xpram driver.

From: Martin Schwidefsky
Date: Mon Mar 01 2004 - 04:02:41 EST


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");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/