diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 23:58:06 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-15 03:39:53 +0400 |
commit | 22daae31ddc09423f512e8d68f1d92af03935ae8 (patch) | |
tree | 3a769545f8d7337cb9abe1506fe1be36c2d60caa /drivers/input/keyboard/gpio_keys.c | |
parent | af4cf6d38a045faa43e4d5585333aea028430a74 (diff) | |
download | linux-22daae31ddc09423f512e8d68f1d92af03935ae8.tar.xz |
Input: gpio_keys - make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/gpio_keys.c')
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 52dc872c23c0..af85218506c1 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c @@ -646,7 +646,7 @@ gpio_keys_get_devtree_pdata(struct device *dev) return pdata; } -static struct of_device_id gpio_keys_of_match[] = { +static const struct of_device_id gpio_keys_of_match[] = { { .compatible = "gpio-keys", }, { }, }; |