From f1a8870aeb5baeb58f0613d1f1e1dca967127fbd Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Thu, 18 Apr 2013 10:04:14 +0200 Subject: 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 Acked-by: Shawn Guo Acked-by: Alexandre Pereira da Silva Acked-by: Viresh Kumar --- drivers/pwm/pwm-spear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/pwm/pwm-spear.c') 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" }, { } -- cgit v1.2.3