projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (pwm-fan, vexpress) Constify of_device_id array
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
pwm-fan.c
diff --git
a/drivers/hwmon/pwm-fan.c
b/drivers/hwmon/pwm-fan.c
index 417072863ebe1191c10537c6c0ab8cf45b8da9da..31d793bd7b122f5006694ea0ce23d26b067f3359 100644
(file)
--- a/
drivers/hwmon/pwm-fan.c
+++ b/
drivers/hwmon/pwm-fan.c
@@
-322,7
+322,7
@@
static int pwm_fan_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(pwm_fan_pm, pwm_fan_suspend, pwm_fan_resume);
-static struct of_device_id of_pwm_fan_match[] = {
+static
const
struct of_device_id of_pwm_fan_match[] = {
{ .compatible = "pwm-fan", },
{},
};