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>
This commit is contained in:
Krzysztof Kozlowski 2020-07-24 09:40:26 +02:00
Родитель 96424aa976
Коммит a6ca67a838
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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",
};