diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-18 17:16:07 +0300 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-16 22:47:53 +0300 |
commit | b4144e4f6e3b448d322095ca08af393682a69e33 (patch) | |
tree | 8a841be950b8a48a8a4e6fe92deb9bc65b1d71f0 /include/linux | |
parent | e7fb9c4ad351a8da7c09e182bd2e7ccd043daf08 (diff) | |
download | linux-b4144e4f6e3b448d322095ca08af393682a69e33.tar.xz |
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/linux')
-rw-r--r-- | include/linux/backlight.h | 8 |
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 */ |