projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (scpi) constify thermal_zone_of_device_ops structures
[linux-2.6-microblaze.git]
/
drivers
/
hwmon
/
scpi-hwmon.c
diff --git
a/drivers/hwmon/scpi-hwmon.c
b/drivers/hwmon/scpi-hwmon.c
index
a586480
..
7e49da5
100644
(file)
--- a/
drivers/hwmon/scpi-hwmon.c
+++ b/
drivers/hwmon/scpi-hwmon.c
@@
-120,7
+120,7
@@
scpi_show_label(struct device *dev, struct device_attribute *attr, char *buf)
return sprintf(buf, "%s\n", sensor->info.name);
}
-static struct thermal_zone_of_device_ops scpi_sensor_ops = {
+static
const
struct thermal_zone_of_device_ops scpi_sensor_ops = {
.get_temp = scpi_read_temp,
};