[PATCH 2/3] UBI: Fastmap: Export fm_auto to sysfs

Richard Weinberger richard at nod.at
Mon Jul 2 12:23:18 EDT 2012


Signed-off-by: Richard Weinberger <richard at nod.at>
---
 drivers/mtd/ubi/build.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index 50b7590..0ffa2c9 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -1394,7 +1394,7 @@ MODULE_PARM_DESC(mtd, "MTD devices to attach. Parameter format: "
 		      "with name \"content\" using VID header offset 1984, and "
 		      "MTD device number 4 with default VID header offset.");
 
-module_param(fm_auto, bool, 000);
+module_param(fm_auto, bool, 0644);
 MODULE_PARM_DESC(fm_auto, "Set this parameter to enable fastmap automatically "
 			  "on images without a fastmap.");
 
-- 
1.7.6.5




More information about the linux-mtd mailing list