diff options
author | Colin Cross <ccross@android.com> | 2010-05-14 19:30:34 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:34:49 -0800 |
commit | 4e27c5bf74da8e479312e43294cf992078a62e9a (patch) | |
tree | 7f7c0c91701643c2ac1bccb074fe3d06d4b64282 /arch/arm/mach-tegra/board-harmony-panel.c | |
parent | a5ce5894b9418484e8cd4f6d0dd809494d68fb72 (diff) |
[ARM] tegra: harmony: Make board init calls explicit
Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: Ic14e8db00f2272de2f4ee4013bb3ab5c1951e7fe
Diffstat (limited to 'arch/arm/mach-tegra/board-harmony-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-harmony-panel.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/arm/mach-tegra/board-harmony-panel.c b/arch/arm/mach-tegra/board-harmony-panel.c index 9fbdacbcded1..309d72e4b490 100644 --- a/arch/arm/mach-tegra/board-harmony-panel.c +++ b/arch/arm/mach-tegra/board-harmony-panel.c @@ -58,18 +58,7 @@ static struct platform_device tegra_fb_device = { }, }; -static int __init harmony_init_panel(void) { - int ret; - - if (!machine_is_harmony()) - return 0; - - ret = platform_device_register(&tegra_fb_device); - if (ret != 0) - return ret; - - return 0; +int __init harmony_panel_init(void) { + return platform_device_register(&tegra_fb_device); } -device_initcall(harmony_init_panel); - |