Commit 01412886 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

drivers/fmc/fmc-write-eeprom.c: fix decimal permissions

This 444 should have been octal.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ff3a2b73
...@@ -27,7 +27,7 @@ FMC_PARAM_BUSID(fwe_drv); ...@@ -27,7 +27,7 @@ FMC_PARAM_BUSID(fwe_drv);
/* The "file=" is like the generic "gateware=" used elsewhere */ /* The "file=" is like the generic "gateware=" used elsewhere */
static char *fwe_file[FMC_MAX_CARDS]; static char *fwe_file[FMC_MAX_CARDS];
static int fwe_file_n; static int fwe_file_n;
module_param_array_named(file, fwe_file, charp, &fwe_file_n, 444); module_param_array_named(file, fwe_file, charp, &fwe_file_n, 0444);
static int fwe_run_tlv(struct fmc_device *fmc, const struct firmware *fw, static int fwe_run_tlv(struct fmc_device *fmc, const struct firmware *fw,
int write) int write)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment