summaryrefslogtreecommitdiffstats
path: root/drivers/fmc
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-02-25 15:01:41 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-02-25 15:25:43 -0800
commit01412886b735ef241f9a41adf9f707ce1522eb61 (patch)
tree565a6fc0ca58d8c8bd0515c3a221fb63e7aedb69 /drivers/fmc
parentff3a2b73b7d6d79038512d60690de18cd7aa4e21 (diff)
downloadlinux-01412886b735ef241f9a41adf9f707ce1522eb61.tar.bz2
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>
Diffstat (limited to 'drivers/fmc')
-rw-r--r--drivers/fmc/fmc-write-eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fmc/fmc-write-eeprom.c b/drivers/fmc/fmc-write-eeprom.c
index ee5b47904130..9bb2cbd5c9f2 100644
--- a/drivers/fmc/fmc-write-eeprom.c
+++ b/drivers/fmc/fmc-write-eeprom.c
@@ -27,7 +27,7 @@ FMC_PARAM_BUSID(fwe_drv);
/* The "file=" is like the generic "gateware=" used elsewhere */
static char *fwe_file[FMC_MAX_CARDS];
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,
int write)