diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-12-28 01:11:10 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-08-10 23:44:05 +0200 |
commit | 76b6f9d0eef93a753914cf4aba2133e7a6d97067 (patch) | |
tree | b84fb3b34e5aef3e09e3b0261730a2153f30730c /drivers/video | |
parent | 14e94194d10ce2b4207ce7bcdcd5e92a1977fe9f (diff) | |
download | linux-76b6f9d0eef93a753914cf4aba2133e7a6d97067.tar.bz2 |
panel-acx565akm: add detection method for omapdrm
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/displays/panel-acx565akm.c | 10 |
1 files changed, 10 insertions, 0 deletions
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, |