tegra: When using V4L2, don't use vi client.
[linux-2.6.git] / drivers / video / tegra / host / Makefile
index 6e5e469..c260821 100644 (file)
@@ -22,7 +22,9 @@ obj-$(CONFIG_TEGRA_GRHOST) += t20/
 obj-$(CONFIG_TEGRA_GRHOST) += t30/
 obj-$(CONFIG_TEGRA_GRHOST) += gr2d/
 obj-$(CONFIG_TEGRA_GRHOST) += isp/
+ifeq ($(CONFIG_TEGRA_CAMERA),y)
 obj-$(CONFIG_TEGRA_GRHOST) += vi/
+endif
 obj-$(CONFIG_TEGRA_GRHOST) += nvhost.o
 
 obj-$(CONFIG_TEGRA_GRHOST_USE_NVMAP) += nvmap.o