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

login
register
mail settings
Submitter Richard Weinberger
Date July 2, 2012, 4:23 p.m.
Message ID <1341246199-7198-3-git-send-email-richard@nod.at>
Download mbox | patch
Permalink /patch/168610/
State New
Headers show

Comments

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

Patch

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.");