ubi: Make mtd parameter readable

Fix permissions to allow read mtd parameter back (only for owner).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>

authored by Andy Shevchenko and committed by Richard Weinberger 997d30cb 435009d4

+1 -1
+1 -1
drivers/mtd/ubi/build.c
··· 1470 1470 return 0; 1471 1471 } 1472 1472 1473 - module_param_call(mtd, ubi_mtd_param_parse, NULL, NULL, 000); 1473 + module_param_call(mtd, ubi_mtd_param_parse, NULL, NULL, 0400); 1474 1474 MODULE_PARM_DESC(mtd, "MTD devices to attach. Parameter format: mtd=<name|num|path>[,<vid_hdr_offs>[,max_beb_per1024[,ubi_num]]].\n" 1475 1475 "Multiple \"mtd\" parameters may be specified.\n" 1476 1476 "MTD devices may be specified by their number, name, or path to the MTD character device node.\n"