diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-18 04:04:14 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-23 01:42:20 -0400 |
commit | f1a8870aeb5baeb58f0613d1f1e1dca967127fbd (patch) | |
tree | c14dd02d37a1db1141c43507f41a05ddfe57d9bf /drivers/pwm/pwm-twl-led.c | |
parent | bdd7cf97153d354f654379563483bdb5a774ef16 (diff) |
pwm: Constify OF match tables
A few drivers already annotate this properly. Make the same change for
all other OF supporting drivers.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/pwm/pwm-twl-led.c')
-rw-r--r-- | drivers/pwm/pwm-twl-led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-twl-led.c b/drivers/pwm/pwm-twl-led.c index f912e87aed88..29d1bba4804e 100644 --- a/drivers/pwm/pwm-twl-led.c +++ b/drivers/pwm/pwm-twl-led.c | |||
@@ -323,7 +323,7 @@ static int twl_pwmled_remove(struct platform_device *pdev) | |||
323 | } | 323 | } |
324 | 324 | ||
325 | #ifdef CONFIG_OF | 325 | #ifdef CONFIG_OF |
326 | static struct of_device_id twl_pwmled_of_match[] = { | 326 | static const struct of_device_id twl_pwmled_of_match[] = { |
327 | { .compatible = "ti,twl4030-pwmled" }, | 327 | { .compatible = "ti,twl4030-pwmled" }, |
328 | { .compatible = "ti,twl6030-pwmled" }, | 328 | { .compatible = "ti,twl6030-pwmled" }, |
329 | { }, | 329 | { }, |