Commit a6ca67a8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

memory: brcmstb_dpfe: Constify the contents of string

The string itself can be made const for safety.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Acked-by: default avatarMarkus Mayer <mmayer@broadcom.com>
parent 96424aa9
......@@ -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",
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment