projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: broadcom: constify thermal_zone_of_device_ops structure
[linux-2.6-block.git]
/
drivers
/
thermal
/
broadcom
/
brcmstb_thermal.c
diff --git
a/drivers/thermal/broadcom/brcmstb_thermal.c
b/drivers/thermal/broadcom/brcmstb_thermal.c
index 1919f91fa756597ff63f6e1518d92363f402e769..e8b1570cc3888a3eff4e066c324a3d3c4d10b95c 100644
(file)
--- a/
drivers/thermal/broadcom/brcmstb_thermal.c
+++ b/
drivers/thermal/broadcom/brcmstb_thermal.c
@@
-299,7
+299,7
@@
static int brcmstb_set_trips(void *data, int low, int high)
return 0;
}
-static struct thermal_zone_of_device_ops of_ops = {
+static
const
struct thermal_zone_of_device_ops of_ops = {
.get_temp = brcmstb_get_temp,
.set_trips = brcmstb_set_trips,
};