summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-18 14:16:07 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-09 06:50:35 -0800
commit6a2fde215b17dfcac16cd16a454f319d2de09e93 (patch)
tree483f466789dff2c237da4bfb29a3f297df5b38e0 /include
parentff1178dbc649414b43bfba46b54f88132bb9b5f7 (diff)
backlight: Revert some const qualifiers
9905a43b2d563e6f89e4c63c4278ada03f2ebb14 went a little to far with const qualifiers as there are legitiment cases where the function pointers can change (machine specific setup code for example). Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/backlight.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index 8c4f884db6b4..ee377d791996 100644
--- a/include/linux/backlight.h
+++ b/include/linux/backlight.h
@@ -36,18 +36,18 @@ struct backlight_device;
struct fb_info;
struct backlight_ops {
- const unsigned int options;
+ unsigned int options;
#define BL_CORE_SUSPENDRESUME (1 << 0)
/* Notify the backlight driver some property has changed */
- int (* const update_status)(struct backlight_device *);
+ int (*update_status)(struct backlight_device *);
/* Return the current backlight brightness (accounting for power,
fb_blank etc.) */
- int (* const get_brightness)(struct backlight_device *);
+ int (*get_brightness)(struct backlight_device *);
/* Check if given framebuffer device is the one bound to this backlight;
return 0 if not, !=0 if it is. If NULL, backlight always matches the fb. */
- int (* const check_fb)(struct fb_info *);
+ int (*check_fb)(struct fb_info *);
};
/* This structure defines all the properties of a backlight */