diff options
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 */ |