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

From: Richard Weinberger
Date: Mon Jul 02 2012 - 12:24:15 EST


Signed-off-by: Richard Weinberger <richard@xxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/