* [PATCH] s390 (5/5): xpram driver.
@ 2004-03-01 8:52 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2004-03-01 8:52 UTC (permalink / raw)
To: akpm, linux-kernel
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");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-01 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 8:52 [PATCH] s390 (5/5): xpram driver Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®