Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
staging: speakup: Change char * array type as static const
Browse files Browse the repository at this point in the history
This patch fixes "char * array declaration might be better as static const"
checkpatch.pl warning in kobjects.c

Signed-off-by: Ebru Akagunduz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
ebruAkagunduz authored and gregkh committed Oct 20, 2014
1 parent 1f74d5f commit 333c474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/speakup/kobjects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
};
Expand Down

0 comments on commit 333c474

Please sign in to comment.