From 76b6f9d0eef93a753914cf4aba2133e7a6d97067 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 28 Dec 2012 01:11:10 +0100 Subject: panel-acx565akm: add detection method for omapdrm --- drivers/video/omap2/displays/panel-acx565akm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/video/omap2/displays/panel-acx565akm.c b/drivers/video/omap2/displays/panel-acx565akm.c index 3fd100fc853e..2f540cbf69f2 100644 --- a/drivers/video/omap2/displays/panel-acx565akm.c +++ b/drivers/video/omap2/displays/panel-acx565akm.c @@ -250,6 +250,14 @@ static int panel_detect(struct acx565akm_device *md) return 0; } +static bool acx_panel_detect(struct omap_dss_device *dssdev) +{ + struct acx565akm_device *md = &acx_dev; + int r = panel_detect(md); + + return r == 0; +} + /*----------------------Backlight Control-------------------------*/ static void enable_backlight_ctrl(struct acx565akm_device *md, int enable) @@ -743,6 +751,8 @@ static struct omap_dss_driver acx_panel_driver = { .enable = acx_panel_enable, .disable = acx_panel_disable, + .detect = acx_panel_detect, + .set_timings = acx_panel_set_timings, .check_timings = acx_panel_check_timings, -- cgit v1.2.3