summaryrefslogtreecommitdiffstats
path: root/drivers/fmc/fmc-write-eeprom.c
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/fmc-write-eeprom.c
parentff3a2b73b7d6d79038512d60690de18cd7aa4e21 (diff)
downloadop-kernel-dev-01412886b735ef241f9a41adf9f707ce1522eb61.zip
op-kernel-dev-01412886b735ef241f9a41adf9f707ce1522eb61.tar.gz
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/fmc-write-eeprom.c')
-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 ee5b479..9bb2cbd 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)
OpenPOWER on IntegriCloud