summaryrefslogtreecommitdiff
path: root/drivers/iommu/Makefile
diff options
context:
space:
mode:
authorschowdary <schowdary@nvidia.com>2012-07-24 18:03:47 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-02 09:25:15 -0700
commit73a5b2750a09e5d18cd7a5dc6c18a04016a4f902 (patch)
treecbce59fcb1be5e859017efaa249ebb789c3a246f /drivers/iommu/Makefile
parent98c6d05c0b39367a6116eb40cae05f5586d54c9d (diff)
iommu: tegra/gart: resolve compilation warning
- Add compilation flag to treat warning as error - resolve label defined but not used error in smmu bug 949219 Change-Id: Ie6693cf21904008bbe927b27817a9cd02ed0d34f Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118025 Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com> Tested-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/iommu/Makefile')
-rw-r--r--drivers/iommu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index 7ad7a3bc1242..ed59619d1af8 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -8,5 +8,7 @@ obj-$(CONFIG_IRQ_REMAP) += intr_remapping.o
obj-$(CONFIG_OMAP_IOMMU) += omap-iommu.o
obj-$(CONFIG_OMAP_IOVMM) += omap-iovmm.o
obj-$(CONFIG_OMAP_IOMMU_DEBUG) += omap-iommu-debug.o
+CFLAGS_tegra-gart.o = -Werror
obj-$(CONFIG_TEGRA_IOMMU_GART) += tegra-gart.o
+CFLAGS_tegra-smmu.o = -Werror
obj-$(CONFIG_TEGRA_IOMMU_SMMU) += tegra-smmu.o