CHROMIUM: ARM: exynos: ifdef out some unused variables
authorOlof Johansson <olofj@chromium.org>
Mon, 10 Sep 2012 23:19:31 +0000 (16:19 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 11 Sep 2012 01:07:48 +0000 (18:07 -0700)
arch/arm/mach-exynos/mach-exynos5-dt.c:107:29: warning: 'smdk5250_fb_win1' defined but not used [-Wunused-variable]
arch/arm/mach-exynos/mach-exynos5-dt.c:126:29: warning: 'smdk5250_fb_win2' defined but not used [-Wunused-variable]
arch/arm/mach-exynos/mach-exynos5-dt.c:88:29: warning: 'smdk5250_fb_win0' defined but not used [-Wunused-variable]

BUG=chromium-os:34287
TEST=none

Change-Id: I6f1d030c87b18abccad796794ea40bf245d643cf
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/32838
Reviewed-by: Doug Anderson <dianders@chromium.org>
arch/arm/mach-exynos/mach-exynos5-dt.c

index 6f158af..27d61e9 100644 (file)
@@ -85,6 +85,7 @@ static void __init smsc911x_init(int ncs)
                S5P_SROM_BC0 + (ncs * 4));
 }
 
+#ifndef CONFIG_DRM_EXYNOS_FIMD
 static struct s3c_fb_pd_win smdk5250_fb_win0 = {
        .win_mode = {
                .left_margin    = 4,
@@ -141,6 +142,7 @@ static struct s3c_fb_pd_win smdk5250_fb_win2 = {
        .max_bpp                = 32,
        .default_bpp            = 24,
 };
+#endif
 
 static struct fb_videomode snow_fb_window[] = {
        {