summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-07-21 10:13:17 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-08-04 16:12:11 +0900
commitc2439398170be9d7af28eb3ab59593369cb303f3 (patch)
tree19a1b4078363950e13c940dcd32d38e884a8257b /drivers/video
parentb90884c886696a67a4c7832b4e627f341a860b3d (diff)
downloadop-kernel-dev-c2439398170be9d7af28eb3ab59593369cb303f3.zip
op-kernel-dev-c2439398170be9d7af28eb3ab59593369cb303f3.tar.gz
sh: add a parameter to LCDC driver's .display_on() callback
HDMI support for the sh_mobile_lcdc framebuffer driver will require a 'struct fb_info *' pointer for its .display_on() callback. While at it fix kfr2r09 framebuffer modular build. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/sh_mipi_dsi.c2
-rw-r--r--drivers/video/sh_mobile_lcdcfb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c
index 017ae9f..5699ce0 100644
--- a/drivers/video/sh_mipi_dsi.c
+++ b/drivers/video/sh_mipi_dsi.c
@@ -100,7 +100,7 @@ static void sh_mipi_shutdown(struct platform_device *pdev)
sh_mipi_dsi_enable(mipi, false);
}
-static void mipi_display_on(void *arg)
+static void mipi_display_on(void *arg, struct fb_info *info)
{
struct sh_mipi *mipi = arg;
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index 0c97509..b9e6f93 100644
--- a/drivers/video/sh_mobile_lcdcfb.c
+++ b/drivers/video/sh_mobile_lcdcfb.c
@@ -577,7 +577,7 @@ static int sh_mobile_lcdc_start(struct sh_mobile_lcdc_priv *priv)
board_cfg = &ch->cfg.board_cfg;
if (board_cfg->display_on)
- board_cfg->display_on(board_cfg->board_data);
+ board_cfg->display_on(board_cfg->board_data, ch->info);
}
return 0;
OpenPOWER on IntegriCloud