From: Ebru Akagunduz Date: Sat, 4 Oct 2014 10:36:27 +0000 (+0300) Subject: staging: speakup: Change char * array type as static const X-Git-Tag: firefly_0821_release~176^2~2665^2~1257 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=333c474b828e52bce8731e97fef27c2e950b5728;p=firefly-linux-kernel-4.4.55.git staging: speakup: Change char * array type as static const This patch fixes "char * array declaration might be better as static const" checkpatch.pl warning in kobjects.c Signed-off-by: Ebru Akagunduz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c index 1486147f3bac..b12c76de60b0 100644 --- a/drivers/staging/speakup/kobjects.c +++ b/drivers/staging/speakup/kobjects.c @@ -81,7 +81,7 @@ static ssize_t chars_chartab_show(struct kobject *kobj, static void report_char_chartab_status(int reset, int received, int used, int rejected, int do_characters) { - char *object_type[] = { + static char const *object_type[] = { "character class entries", "character descriptions", };