diff options
author | Jimmy Rubin <jimmy.rubin@stericsson.com> | 2011-01-24 21:29:13 +0100 |
---|---|---|
committer | Henrik Öhman <henrik.ohman@stericsson.com> | 2011-03-09 09:38:27 +0100 |
commit | 40e62215bd72dbe9c2b1c68c054b672476e60414 (patch) | |
tree | b373932423981640ed379209167cba282beb6c27 /include | |
parent | c1b09d48e66b244ad1d92ab1be025c51061e5077 (diff) |
video: mcde: Add early_suspend support
Disables display device during backlight off by
implementing early suspend
ST Ericsson ID: ER 318551
Change-Id: If3dc7ee97a03d649baca630c5ba4c8fd5ad9867e
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13346
Reviewed-by: QATOOLS
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/mcde_fb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video/mcde_fb.h b/include/video/mcde_fb.h index 1ef1c7175e5..60d8b244688 100644 --- a/include/video/mcde_fb.h +++ b/include/video/mcde_fb.h @@ -22,6 +22,9 @@ #ifdef __KERNEL__ #include "mcde_dss.h" +#ifdef CONFIG_HAS_EARLYSUSPEND +#include <linux/earlysuspend.h> +#endif #endif #define MCDE_GET_BUFFER_NAME_IOC _IO('M', 1) @@ -39,6 +42,9 @@ struct mcde_fb { int id; struct hwmem_alloc *alloc; int alloc_name; +#ifdef CONFIG_HAS_EARLYSUSPEND + struct early_suspend early_suspend; +#endif }; /* MCDE fbdev API */ |