aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3stalker.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-12-07 04:38:13 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-04 04:51:16 -0400
commitfe5c5fbad0790f14907679bae29889d47b75456e (patch)
tree01c4e0444d7f20d2a82f15eb36e5aeaaaf894a49 /arch/arm/mach-omap2/board-omap3stalker.c
parente5e533227ad8b6412cdec371a143ac2944272e2d (diff)
arm: omap boards: Remove unnecessary platform_enable/disable callbacks for VENC devices
The omap_dss_device's platform_enable/disable callbacks don't do anything for any of the boards. The platform calls from the VENC driver will also be removed in the future. Remove these calls from the board which have a VENC device. Signed-off-by: Archit Taneja <archit@ti.com> Cc: Tony Lindgren <tony@atomide.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3stalker.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index 495b989f9040..5e63f0758cef 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -94,15 +94,6 @@ static void __init omap3_stalker_display_init(void)
94 return; 94 return;
95} 95}
96 96
97static int omap3_stalker_enable_tv(struct omap_dss_device *dssdev)
98{
99 return 0;
100}
101
102static void omap3_stalker_disable_tv(struct omap_dss_device *dssdev)
103{
104}
105
106static struct omap_dss_device omap3_stalker_tv_device = { 97static struct omap_dss_device omap3_stalker_tv_device = {
107 .name = "tv", 98 .name = "tv",
108 .driver_name = "venc", 99 .driver_name = "venc",
@@ -112,8 +103,6 @@ static struct omap_dss_device omap3_stalker_tv_device = {
112#elif defined(CONFIG_OMAP2_VENC_OUT_TYPE_COMPOSITE) 103#elif defined(CONFIG_OMAP2_VENC_OUT_TYPE_COMPOSITE)
113 .u.venc.type = OMAP_DSS_VENC_TYPE_COMPOSITE, 104 .u.venc.type = OMAP_DSS_VENC_TYPE_COMPOSITE,
114#endif 105#endif
115 .platform_enable = omap3_stalker_enable_tv,
116 .platform_disable = omap3_stalker_disable_tv,
117}; 106};
118 107
119static struct tfp410_platform_data dvi_panel = { 108static struct tfp410_platform_data dvi_panel = {