diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-24 09:40:26 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-24 16:18:32 +0200 |
commit | a6ca67a838826ebabe9f1c1434140459928ee5b5 (patch) | |
tree | 02302be1b93a8ebd02ba5fe7d30056f92c875b0e /drivers/memory | |
parent | memory: ti-emif-pm: Fix cast to iomem pointer (diff) | |
download | linux-a6ca67a838826ebabe9f1c1434140459928ee5b5.tar.xz linux-a6ca67a838826ebabe9f1c1434140459928ee5b5.zip |
memory: brcmstb_dpfe: Constify the contents of string
The string itself can be made const for safety.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Markus Mayer <mmayer@broadcom.com>
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/brcmstb_dpfe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c index 82b415be18d1..5942380f343b 100644 --- a/drivers/memory/brcmstb_dpfe.c +++ b/drivers/memory/brcmstb_dpfe.c @@ -188,7 +188,7 @@ struct brcmstb_dpfe_priv { struct mutex lock; }; -static const char *error_text[] = { +static const char * const error_text[] = { "Success", "Header code incorrect", "Unknown command or argument", "Incorrect checksum", "Malformed command", "Timed out", }; |