arm: tegra: fix build break for roth board
Mayuresh Kulkarni [Thu, 8 Nov 2012 06:15:13 +0000 (11:15 +0530)]
the build break is caused when TEGRA_DC is not enabled

Change-Id: I9c620df83cf364907f3bf56e2f804b3369293fb9
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/162263
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

arch/arm/mach-tegra/board-roth-panel.c

index f18d316..c8a32b1 100644 (file)
@@ -751,7 +751,7 @@ int __init roth_panel_init(void)
        return err;
 }
 #else
-int __init roth_panel_init(void)
+struct platform_device * __init roth_panel_init(void)
 {
        return roth_host1x_init();
 }