summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc_priv.h
diff options
context:
space:
mode:
authorMursalin Akon <makon@nvidia.com>2011-09-15 11:09:18 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:52:32 -0800
commitc7ade8da9db92bbb436e953fb55ad32ae3f40b62 (patch)
tree809118ee620b6ec6c62e59869e057f44bbf26c42 /drivers/video/tegra/dc/dc_priv.h
parent5c19b07d71b3435ae90274e14a6a391d53c4cb99 (diff)
driver: video: terga: dc: fix switch class dependencies
Mark the dependencies of dc driver on switch class explicit, using proper pre-processors. Bug 877239 Change-Id: Ie5931aaf4f279e6379b85a00a30bd3cb910614d0 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/55774 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R229bab237a55cacd22f5071eaca1a60503fdbb0d
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
-rw-r--r--drivers/video/tegra/dc/dc_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h
index 6567c859e47b..bd0625b1cf8c 100644
--- a/drivers/video/tegra/dc/dc_priv.h
+++ b/drivers/video/tegra/dc/dc_priv.h
@@ -117,7 +117,9 @@ struct tegra_dc {
unsigned long underflow_mask;
struct work_struct reset_work;
+#ifdef CONFIG_SWITCH
struct switch_dev modeset_switch;
+#endif
struct completion frame_end_complete;