summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-02-26 03:01:41 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-02-26 03:25:43 +0400
commit01412886b735ef241f9a41adf9f707ce1522eb61 (patch)
tree565a6fc0ca58d8c8bd0515c3a221fb63e7aedb69 /drivers
parentff3a2b73b7d6d79038512d60690de18cd7aa4e21 (diff)
downloadlinux-01412886b735ef241f9a41adf9f707ce1522eb61.tar.xz
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')
-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)