staging: android: Fix two checkpatch issues in binder.c
authorCruz Julian Bishop <cruzjbishop@gmail.com>
Fri, 21 Dec 2012 23:00:45 +0000 (09:00 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:59:57 +0000 (14:59 -0800)
This fixes two instances of
"static const char * array should probably be static const char * const"

I have seen other commits doing this in other files, so I am
assuming it should be done here as well.

Please tell me if this is wrong :)

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c

index 2d12e8a1f82ee06b89f8be1127e644c16ead8994..538ebe213129f61fdbe414ebe7d666703958806e 100644 (file)
@@ -3227,7 +3227,7 @@ static void print_binder_proc(struct seq_file *m,
                m->count = start_pos;
 }
 
-static const char *binder_return_strings[] = {
+static const char * const binder_return_strings[] = {
        "BR_ERROR",
        "BR_OK",
        "BR_TRANSACTION",
@@ -3248,7 +3248,7 @@ static const char *binder_return_strings[] = {
        "BR_FAILED_REPLY"
 };
 
-static const char *binder_command_strings[] = {
+static const char * const binder_command_strings[] = {
        "BC_TRANSACTION",
        "BC_REPLY",
        "BC_ACQUIRE_RESULT",
@@ -3268,7 +3268,7 @@ static const char *binder_command_strings[] = {
        "BC_DEAD_BINDER_DONE"
 };
 
-static const char *binder_objstat_strings[] = {
+static const char * const binder_objstat_strings[] = {
        "proc",
        "thread",
        "node",