diff options
author | Emese Revfy <re.emese@gmail.com> | 2009-12-14 00:58:57 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-16 11:33:46 +0000 |
commit | 9905a43b2d563e6f89e4c63c4278ada03f2ebb14 (patch) | |
tree | c7bf0a38c434d34c77737415a016cf4a0c0473ef /drivers/video/backlight/wm831x_bl.c | |
parent | 6baddba4a40b4f4e37db051e84ac5e7cc454a19c (diff) | |
download | op-kernel-dev-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.zip op-kernel-dev-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.tar.gz |
backlight: Constify struct backlight_ops
Signed-off-by: Emese Revfy <re.emese@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video/backlight/wm831x_bl.c')
-rw-r--r-- | drivers/video/backlight/wm831x_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/wm831x_bl.c b/drivers/video/backlight/wm831x_bl.c index 467bdb7..e32add3 100644 --- a/drivers/video/backlight/wm831x_bl.c +++ b/drivers/video/backlight/wm831x_bl.c @@ -112,7 +112,7 @@ static int wm831x_backlight_get_brightness(struct backlight_device *bl) return data->current_brightness; } -static struct backlight_ops wm831x_backlight_ops = { +static const struct backlight_ops wm831x_backlight_ops = { .options = BL_CORE_SUSPENDRESUME, .update_status = wm831x_backlight_update_status, .get_brightness = wm831x_backlight_get_brightness, |