diff options
-rw-r--r-- | drivers/input/key_matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/key_matrix.c b/drivers/input/key_matrix.c index 946a186a1f..c8b048e604 100644 --- a/drivers/input/key_matrix.c +++ b/drivers/input/key_matrix.c @@ -158,7 +158,7 @@ int key_matrix_decode_fdt(struct key_matrix *config, const void *blob, int node) { const struct fdt_property *prop; - const char prefix[] = "linux,"; + static const char prefix[] = "linux,"; int plen = sizeof(prefix) - 1; int offset; |