diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-05-02 05:56:59 -0400 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-05-09 17:31:00 -0400 |
commit | 24ff14172fc3fe6aba4c2d329fa093fe92818373 (patch) | |
tree | eb45f6505b0a4eb539d1090a2cb0280beac8c091 | |
parent | 5d26f068a59415664ddf79f42dac78777ff0dcf8 (diff) |
remoteproc/davinci: use octal permissions for module_param()
Checkpatch recommends to use octal perms instead of S_IRUGO.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r-- | drivers/remoteproc/da8xx_remoteproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index f134192922e0..b668e32996e2 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "remoteproc_internal.h" | 25 | #include "remoteproc_internal.h" |
26 | 26 | ||
27 | static char *da8xx_fw_name; | 27 | static char *da8xx_fw_name; |
28 | module_param(da8xx_fw_name, charp, S_IRUGO); | 28 | module_param(da8xx_fw_name, charp, 0444); |
29 | MODULE_PARM_DESC(da8xx_fw_name, | 29 | MODULE_PARM_DESC(da8xx_fw_name, |
30 | "Name of DSP firmware file in /lib/firmware (if not specified defaults to 'rproc-dsp-fw')"); | 30 | "Name of DSP firmware file in /lib/firmware (if not specified defaults to 'rproc-dsp-fw')"); |
31 | 31 | ||