diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-06 16:00:19 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-08 10:37:43 -0500 |
commit | c835ee7f4154992e6cf0674d7ee136f5d36247a4 (patch) | |
tree | e886aecbf4ce1389ca649a20891315499ff9054d /drivers/video/backlight/mbp_nvidia_bl.c | |
parent | 9be1df98bca44dbe3769cd22f4ab8122b76c5313 (diff) |
backlight: Add suspend/resume support to the backlight core
Add suspend/resume support to the backlight core and enable use of it
by appropriate drivers.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video/backlight/mbp_nvidia_bl.c')
-rw-r--r-- | drivers/video/backlight/mbp_nvidia_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/mbp_nvidia_bl.c b/drivers/video/backlight/mbp_nvidia_bl.c index 06964af761c6..65864c500455 100644 --- a/drivers/video/backlight/mbp_nvidia_bl.c +++ b/drivers/video/backlight/mbp_nvidia_bl.c | |||
@@ -70,6 +70,7 @@ static int mbp_get_intensity(struct backlight_device *bd) | |||
70 | } | 70 | } |
71 | 71 | ||
72 | static struct backlight_ops mbp_ops = { | 72 | static struct backlight_ops mbp_ops = { |
73 | .options = BL_CORE_SUSPENDRESUME, | ||
73 | .get_brightness = mbp_get_intensity, | 74 | .get_brightness = mbp_get_intensity, |
74 | .update_status = mbp_send_intensity, | 75 | .update_status = mbp_send_intensity, |
75 | }; | 76 | }; |