Title: [8436] trunk/drivers/video/backlight: adp8860/70: constify backlight_ops
- Revision
- 8436
- Author
- vapier
- Date
- 2010-03-09 10:58:22 -0500 (Tue, 09 Mar 2010)
Log Message
adp8860/70: constify backlight_ops
Modified Paths
Diff
Modified: trunk/drivers/video/backlight/adp8860_bl.c (8435 => 8436)
--- trunk/drivers/video/backlight/adp8860_bl.c 2010-03-09 15:50:38 UTC (rev 8435)
+++ trunk/drivers/video/backlight/adp8860_bl.c 2010-03-09 15:58:22 UTC (rev 8436)
@@ -371,7 +371,7 @@
return data->current_brightness;
}
-static struct backlight_ops adp8860_bl_ops = {
+static const struct backlight_ops adp8860_bl_ops = {
.update_status = adp8860_bl_update_status,
.get_brightness = adp8860_bl_get_brightness,
};
Modified: trunk/drivers/video/backlight/adp8870_bl.c (8435 => 8436)
--- trunk/drivers/video/backlight/adp8870_bl.c 2010-03-09 15:50:38 UTC (rev 8435)
+++ trunk/drivers/video/backlight/adp8870_bl.c 2010-03-09 15:58:22 UTC (rev 8436)
@@ -391,7 +391,7 @@
return data->current_brightness;
}
-static struct backlight_ops adp8870_bl_ops = {
+static const struct backlight_ops adp8870_bl_ops = {
.update_status = adp8870_bl_update_status,
.get_brightness = adp8870_bl_get_brightness,
};
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits