diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-17 06:30:27 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-09 03:51:04 -0400 |
commit | e813a55eb9c9bc6c8039fb16332cf43402125b30 (patch) | |
tree | 18b4450d21ba7755587d442865142f641fee3f14 /arch/arm/mach-omap2/board-am3517evm.c | |
parent | 2da35193dc81b574001a47347f41c4922b1266d3 (diff) |
OMAP: board-files: remove custom PD GPIO handling for DVI output
Now that the panel-dvi driver handles the PD (power-down) GPIO, we can
remove the custom PD handling from the board files.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 3645285a3e2b..ce155bfc9838 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -207,25 +207,8 @@ static struct omap_dss_device am3517_evm_tv_device = { | |||
207 | .platform_disable = am3517_evm_panel_disable_tv, | 207 | .platform_disable = am3517_evm_panel_disable_tv, |
208 | }; | 208 | }; |
209 | 209 | ||
210 | static int am3517_evm_panel_enable_dvi(struct omap_dss_device *dssdev) | ||
211 | { | ||
212 | if (lcd_enabled) { | ||
213 | printk(KERN_ERR "cannot enable DVI, LCD is enabled\n"); | ||
214 | return -EINVAL; | ||
215 | } | ||
216 | dvi_enabled = 1; | ||
217 | |||
218 | return 0; | ||
219 | } | ||
220 | |||
221 | static void am3517_evm_panel_disable_dvi(struct omap_dss_device *dssdev) | ||
222 | { | ||
223 | dvi_enabled = 0; | ||
224 | } | ||
225 | |||
226 | static struct panel_dvi_platform_data dvi_panel = { | 210 | static struct panel_dvi_platform_data dvi_panel = { |
227 | .platform_enable = am3517_evm_panel_enable_dvi, | 211 | .power_down_gpio = -1, |
228 | .platform_disable = am3517_evm_panel_disable_dvi, | ||
229 | }; | 212 | }; |
230 | 213 | ||
231 | static struct omap_dss_device am3517_evm_dvi_device = { | 214 | static struct omap_dss_device am3517_evm_dvi_device = { |