summaryrefslogtreecommitdiff
path: root/drivers/input/misc/gpio-beeper.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 13:02:39 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 16:39:55 -0700
commit355b91151e93740756eae1dbd2c10d6e3d1d56f3 (patch)
treec851e91dd94c4cd901503da907426c6afc54e99e /drivers/input/misc/gpio-beeper.c
parent27ec39c0770d13f7f38b092c5f7b9de79f88a911 (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>
Diffstat (limited to 'drivers/input/misc/gpio-beeper.c')
-rw-r--r--drivers/input/misc/gpio-beeper.c2
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, },
{ }
};