aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-spear.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2013-04-18 10:04:14 +0200
committerThierry Reding <thierry.reding@avionic-design.de>2013-04-23 07:42:20 +0200
commitf1a8870aeb5baeb58f0613d1f1e1dca967127fbd (patch)
treec14dd02d37a1db1141c43507f41a05ddfe57d9bf /drivers/pwm/pwm-spear.c
parentpwm: pwm-tiehrpwm: Update device-tree binding document (diff)
downloadlinux-dev-f1a8870aeb5baeb58f0613d1f1e1dca967127fbd.tar.xz
linux-dev-f1a8870aeb5baeb58f0613d1f1e1dca967127fbd.zip
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-spear.c')
-rw-r--r--drivers/pwm/pwm-spear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
index 9563599a117e..6d99e2cbdc73 100644
--- a/drivers/pwm/pwm-spear.c
+++ b/drivers/pwm/pwm-spear.c
@@ -248,7 +248,7 @@ static int spear_pwm_remove(struct platform_device *pdev)
return pwmchip_remove(&pc->chip);
}
-static struct of_device_id spear_pwm_of_match[] = {
+static const struct of_device_id spear_pwm_of_match[] = {
{ .compatible = "st,spear320-pwm" },
{ .compatible = "st,spear1340-pwm" },
{ }