diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 13:02:39 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 16:39:55 -0700 |
commit | 355b91151e93740756eae1dbd2c10d6e3d1d56f3 (patch) | |
tree | c851e91dd94c4cd901503da907426c6afc54e99e | |
parent | 27ec39c0770d13f7f38b092c5f7b9de79f88a911 (diff) |
Input: gpio-beeper - 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>
-rw-r--r-- | drivers/input/misc/gpio-beeper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/gpio-beeper.c b/drivers/input/misc/gpio-beeper.c index 5ed50ddfacfc..8886af63eae3 100644 --- a/drivers/input/misc/gpio-beeper.c +++ b/drivers/input/misc/gpio-beeper.c @@ -102,7 +102,7 @@ static int gpio_beeper_probe(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id gpio_beeper_of_match[] = { +static const struct of_device_id gpio_beeper_of_match[] = { { .compatible = BEEPER_MODNAME, }, { } }; |