diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 17:58:47 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-19 20:16:18 +0100 |
commit | 245165de9896cca918701b116d72d486a0398437 (patch) | |
tree | fecdd7a54c05adc7cc61901fd3b8cc9489c5c4f2 /drivers/input/misc/palmas-pwrbutton.c | |
parent | Input: pwm-beeper - remove useless call to pwm_config() (diff) | |
download | linux-245165de9896cca918701b116d72d486a0398437.tar.xz linux-245165de9896cca918701b116d72d486a0398437.zip |
Input: constify of_device_id arrays
of_device_id is always used as const argument (See driver.of_match_table
and open firmware functions).
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/palmas-pwrbutton.c')
-rw-r--r-- | drivers/input/misc/palmas-pwrbutton.c | 2 |
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" }, { }, }; |