aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-11 12:15:36 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:40:44 -0400
commitd2ccdc807baa38a6487a25099c939a82f4698953 (patch)
tree04708c26ebdd4492b60b9ca18073b355fa92127f /drivers
parent134d22eb58b72c4fe5e6ca3ebcaccd4975f06842 (diff)
fbdev: sh_mobile_lcdc: Add sh_mobile_lcdc_entity definition
The sh_mobile_lcdc_entity structure will be used to abstract operations performed by transceivers (such as MIPI/DSI and HDMI). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/sh_mobile_lcdcfb.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h
index a58a0f38848b..d79e5aa39b74 100644
--- a/drivers/video/sh_mobile_lcdcfb.h
+++ b/drivers/video/sh_mobile_lcdcfb.h
@@ -14,9 +14,23 @@ enum { LDDCKPAT1R, LDDCKPAT2R, LDMT1R, LDMT2R, LDMT3R, LDDFR, LDSM1R,
14 14
15#define PALETTE_NR 16 15#define PALETTE_NR 16
16 16
17struct sh_mobile_lcdc_priv;
18struct fb_info;
19struct backlight_device; 17struct backlight_device;
18struct fb_info;
19struct module;
20struct sh_mobile_lcdc_entity;
21struct sh_mobile_lcdc_priv;
22
23struct sh_mobile_lcdc_entity_ops {
24 /* Display */
25 int (*display_on)(struct sh_mobile_lcdc_entity *entity,
26 struct fb_info *info);
27 void (*display_off)(struct sh_mobile_lcdc_entity *entity);
28};
29
30struct sh_mobile_lcdc_entity {
31 struct module *owner;
32 const struct sh_mobile_lcdc_entity_ops *ops;
33};
20 34
21/* 35/*
22 * struct sh_mobile_lcdc_chan - LCDC display channel 36 * struct sh_mobile_lcdc_chan - LCDC display channel