summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorRob Herring <r.herring@freescale.com>2010-02-15 13:42:23 -0600
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 10:44:19 +0200
commit49f8d7511147a2f0296d78f402b6e49412f08ccc (patch)
treee2e17494016464addc7c77c79541512a304ed4d3 /drivers/video
parent5f8e11fb72a1aa84a025b18e94fdce959743bdec (diff)
ENGR00120957-1 mx51: restructure device resources and registration
Separate resources and platform devices from platform data. Move platform data and device registration to board files. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/mxc/tve.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/mxc/tve.c b/drivers/video/mxc/tve.c
index 37bba3a8f9d8..eccf5cca7f70 100644
--- a/drivers/video/mxc/tve.c
+++ b/drivers/video/mxc/tve.c
@@ -646,7 +646,6 @@ static int _tve_get_revision(void)
return rev;
}
-extern int g_di1_tvout;
static int tve_probe(struct platform_device *pdev)
{
int ret, i, primary = 0;
@@ -654,11 +653,6 @@ static int tve_probe(struct platform_device *pdev)
struct tve_platform_data *plat_data = pdev->dev.platform_data;
u32 conf_reg;
- if (!g_di1_tvout) {
- pr_debug("TVE: DI1 was occupied by other device,TVE will not enable\n");
- return -EBUSY;
- }
-
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (res == NULL)
return -ENOMEM;