[PATCH] Correct phram module param description

Mark Hindley mark at hindley.org.uk
Mon Mar 31 09:25:03 EDT 2008


Hi,

I have just started using phram to make uncachable RAM over 64M on a
430TX available as swap. Works a treat! :)

However, I noticed that the module parameter description example is incorrect.

Patch to fix is below.

Mark

commit a93c6576f8c91aa067e3afb4083b685d8e2f1126
Author: Mark Hindley <mark at hindley.org.uk>
Date:   Mon Mar 31 14:14:30 2008 +0100

    Correct module parameter description example
    
    Signed-off-by: Mark Hindley <mark at hindley.org.uk>

diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index 56cc1ca..13ad32f 100644
--- a/drivers/mtd/devices/phram.c
+++ b/drivers/mtd/devices/phram.c
@@ -282,7 +282,7 @@ static int phram_setup(const char *val, struct kernel_param *kp)
 }
 
 module_param_call(phram, phram_setup, NULL, NULL, 000);
-MODULE_PARM_DESC(phram,"Memory region to map. \"map=<name>,<start>,<length>\"");
+MODULE_PARM_DESC(phram, "Memory region to map. \"phram=<name>,<start>,<length>\"");
 
 
 static int __init init_phram(void)



More information about the linux-mtd mailing list