From: Dilek Uzulmez Date: Tue, 7 Oct 2014 07:59:18 +0000 (+0300) Subject: staging: speakup: Change char * array type as static const X-Git-Tag: firefly_0821_release~176^2~2665^2~1256 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0f709488c52c11abc36f7f9ba077f8232cb7cd9d;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 main.c Signed-off-by: Dilek Uzulmez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 3f30a1b6e72c..e9f0c150d246 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -695,7 +695,7 @@ static void say_next_word(struct vc_data *vc) static void spell_word(struct vc_data *vc) { - static char *delay_str[] = { "", ",", ".", ". .", ". . ." }; + static char const *delay_str[] = { "", ",", ".", ". .", ". . ." }; char *cp = buf, *str_cap = spk_str_caps_stop; char *cp1, *last_cap = spk_str_caps_stop; u_char ch;