From f73d2c0bd4b1a41c8281a03521326800009abeee Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 11 Sep 2011 18:15:36 +0200 Subject: [PATCH] --- yaml --- r: 294229 b: refs/heads/master c: d2ccdc807baa38a6487a25099c939a82f4698953 h: refs/heads/master i: 294227: 423b4cf67531031eb6467994183c34314c8e4a8e v: v3 --- [refs] | 2 +- trunk/drivers/video/sh_mobile_lcdcfb.h | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index cbe31e88f57e..00357865765d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 134d22eb58b72c4fe5e6ca3ebcaccd4975f06842 +refs/heads/master: d2ccdc807baa38a6487a25099c939a82f4698953 diff --git a/trunk/drivers/video/sh_mobile_lcdcfb.h b/trunk/drivers/video/sh_mobile_lcdcfb.h index a58a0f38848b..d79e5aa39b74 100644 --- a/trunk/drivers/video/sh_mobile_lcdcfb.h +++ b/trunk/drivers/video/sh_mobile_lcdcfb.h @@ -14,9 +14,23 @@ enum { LDDCKPAT1R, LDDCKPAT2R, LDMT1R, LDMT2R, LDMT3R, LDDFR, LDSM1R, #define PALETTE_NR 16 -struct sh_mobile_lcdc_priv; -struct fb_info; struct backlight_device; +struct fb_info; +struct module; +struct sh_mobile_lcdc_entity; +struct sh_mobile_lcdc_priv; + +struct sh_mobile_lcdc_entity_ops { + /* Display */ + int (*display_on)(struct sh_mobile_lcdc_entity *entity, + struct fb_info *info); + void (*display_off)(struct sh_mobile_lcdc_entity *entity); +}; + +struct sh_mobile_lcdc_entity { + struct module *owner; + const struct sh_mobile_lcdc_entity_ops *ops; +}; /* * struct sh_mobile_lcdc_chan - LCDC display channel