projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2449df9
)
regulator: st-pwm: Make of_device_id array const
author
Jingoo Han
<
[email protected]
>
Wed, 7 May 2014 08:08:35 +0000
(17:08 +0900)
committer
Mark Brown
<
[email protected]
>
Wed, 7 May 2014 19:56:09 +0000
(20:56 +0100)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <
[email protected]
>
Acked-by: Lee Jones <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/st-pwm.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/st-pwm.c
b/drivers/regulator/st-pwm.c
index e367af1c5f9dca664827768fa4cefc16aaf9b2aa..5ea78df449f87e5700698f4329bc1a8da3be3c5b 100644
(file)
--- 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 = {
.duty_cycle_table = b2105_duty_cycle_table,
};
-static struct of_device_id st_pwm_of_match[] = {
+static
const
struct of_device_id st_pwm_of_match[] = {
{ .compatible = "st,b2105-pwm-regulator", .data = &b2105_info, },
{ },
};