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/tps65218-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/tps65218-pwrbutton.c')
-rw-r--r-- | drivers/input/misc/tps65218-pwrbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/tps65218-pwrbutton.c b/drivers/input/misc/tps65218-pwrbutton.c index 54508dec4eb3..a39b62651a4b 100644 --- a/drivers/input/misc/tps65218-pwrbutton.c +++ b/drivers/input/misc/tps65218-pwrbutton.c @@ -106,7 +106,7 @@ static int tps65218_pwron_probe(struct platform_device *pdev) return 0; } -static struct of_device_id of_tps65218_pwr_match[] = { +static const struct of_device_id of_tps65218_pwr_match[] = { { .compatible = "ti,tps65218-pwrbutton" }, { }, }; |