diff options
author | Ebru Akagunduz <ebru.akagunduz@gmail.com> | 2014-10-04 13:36:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-20 10:29:12 +0800 |
commit | 333c474b828e52bce8731e97fef27c2e950b5728 (patch) | |
tree | 0afb185b0659a1c67c4191fce3ea13750e1534a4 /drivers/staging/speakup | |
parent | 1f74d5f688faea24107de37893b7fd5a0e56ac49 (diff) | |
download | op-kernel-dev-333c474b828e52bce8731e97fef27c2e950b5728.zip op-kernel-dev-333c474b828e52bce8731e97fef27c2e950b5728.tar.gz |
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 <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/kobjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c index 1486147..b12c76d 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", }; |