Commit 3ed75bc3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] s390: xpram driver

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

xpram fix: Replace old style module parameter definition with new style.
parent a8e788da
...@@ -74,9 +74,10 @@ static int xpram_devs; ...@@ -74,9 +74,10 @@ static int xpram_devs;
*/ */
static int devs = XPRAM_DEVS; static int devs = XPRAM_DEVS;
static unsigned int sizes[XPRAM_MAX_DEVS]; static unsigned int sizes[XPRAM_MAX_DEVS];
static unsigned int sizes_count;
module_param(devs, int, 0); 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\"), " \ MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \
"the default is " __MODULE_STRING(XPRAM_DEVS) "\n"); "the default is " __MODULE_STRING(XPRAM_DEVS) "\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment