summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-dalmore-panel.c
diff options
context:
space:
mode:
authorAly Hirani <ahirani@nvidia.com>2012-11-12 12:42:17 -0800
committerSimone Willett <swillett@nvidia.com>2012-11-13 17:55:51 -0800
commite7b718008f8a2dfd313db7fa1366d8f0c34b683e (patch)
tree59034416c870adeb3672068548ec55c33bb3d816 /arch/arm/mach-tegra/board-dalmore-panel.c
parentd758e03322f0143a5ee22e2faec75d028bec0afc (diff)
arm: tegra: Fix Dalmore and Pluto build for some panels
ifdef out variables specific to some panels. Fixes Auo/Sharp panel build for Dalmore and JDI/Sharp panel for Pluto Change-Id: I3080c3be93c31ce1c9321e8dd9bcb9454d4425ba Signed-off-by: Aly Hirani <ahirani@nvidia.com> Reviewed-on: http://git-master/r/163084 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mitch Luban <mluban@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/board-dalmore-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-dalmore-panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore-panel.c b/arch/arm/mach-tegra/board-dalmore-panel.c
index 284a0ee29a8f..97cd7e064bce 100644
--- a/arch/arm/mach-tegra/board-dalmore-panel.c
+++ b/arch/arm/mach-tegra/board-dalmore-panel.c
@@ -750,6 +750,7 @@ static struct tegra_fb_data dalmore_disp1_fb_data = {
};
#ifdef CONFIG_TEGRA_DC_CMU
+#if PANEL_10_1_PANASONIC_1920_1200
static struct tegra_dc_cmu dalmore_panasonic_cmu = {
/* lut1 maps sRGB to linear space. */
{
@@ -917,6 +918,7 @@ static struct tegra_dc_cmu dalmore_panasonic_cmu = {
},
};
#endif
+#endif
static struct tegra_dc_platform_data dalmore_disp1_pdata = {
.flags = TEGRA_DC_FLAG_ENABLED,