summaryrefslogtreecommitdiff
path: root/drivers/input/misc/palmas-pwrbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/palmas-pwrbutton.c')
-rw-r--r--drivers/input/misc/palmas-pwrbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/palmas-pwrbutton.c b/drivers/input/misc/palmas-pwrbutton.c
index 1f9b5ee92746..1e1baed63929 100644
--- a/drivers/input/misc/palmas-pwrbutton.c
+++ b/drivers/input/misc/palmas-pwrbutton.c
@@ -304,7 +304,7 @@ static SIMPLE_DEV_PM_OPS(palmas_pwron_pm,
palmas_pwron_suspend, palmas_pwron_resume);
#ifdef CONFIG_OF
-static struct of_device_id of_palmas_pwr_match[] = {
+static const struct of_device_id of_palmas_pwr_match[] = {
{ .compatible = "ti,palmas-pwrbutton" },
{ },
};