diff options
| author | Fabian Frederick <[email protected]> | 2015-03-16 19:54:36 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2015-03-16 20:00:32 +0000 |
| commit | d720acace4d7989f0d5617868e8277221e882961 (patch) | |
| tree | 02dda75ca610da3b71ee7587ee73619cf5de9a1b /drivers/hwmon/pwm-fan.c | |
| parent | hwmon: (nct6775) Enable auxiliary fan monitoring on ASRock Z77 Pro4-M (diff) | |
| download | kernel-d720acace4d7989f0d5617868e8277221e882961.tar.gz kernel-d720acace4d7989f0d5617868e8277221e882961.zip | |
hwmon: (pwm-fan, vexpress) Constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
| -rw-r--r-- | drivers/hwmon/pwm-fan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c index 417072863ebe..31d793bd7b12 100644 --- 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", }, {}, }; |
