diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 04:08:35 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 15:56:09 -0400 |
commit | a74cf0c207c4711138831e5a5988e507d4c9ad5a (patch) | |
tree | 5a6034469576aad0b15df49ec0bc7b1b3fc30029 /drivers/regulator | |
parent | 2449df9f900f69edaa1466f27493694c2f9df2b1 (diff) |
regulator: st-pwm: Make of_device_id array const
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/st-pwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/st-pwm.c b/drivers/regulator/st-pwm.c index e367af1c5f9d..5ea78df449f8 100644 --- a/drivers/regulator/st-pwm.c +++ b/drivers/regulator/st-pwm.c | |||
@@ -118,7 +118,7 @@ static const struct st_pwm_regulator_pdata b2105_info = { | |||
118 | .duty_cycle_table = b2105_duty_cycle_table, | 118 | .duty_cycle_table = b2105_duty_cycle_table, |
119 | }; | 119 | }; |
120 | 120 | ||
121 | static struct of_device_id st_pwm_of_match[] = { | 121 | static const struct of_device_id st_pwm_of_match[] = { |
122 | { .compatible = "st,b2105-pwm-regulator", .data = &b2105_info, }, | 122 | { .compatible = "st,b2105-pwm-regulator", .data = &b2105_info, }, |
123 | { }, | 123 | { }, |
124 | }; | 124 | }; |