drivers/fmc/fmc-write-eeprom.c: fix decimal permissions
This 444 should have been octal. Signed-off-by: Joe Perches <joe@perches.com> Cc: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ff3a2b73b7
commit
01412886b7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue