summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-02 14:34:05 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2011-10-10 12:03:14 +0200
commite4efd94bde1a2df9f1344ff936d42b4a78b9acc0 (patch)
tree5b81124e2d491069d6c6fdb9c26c0cb0471593b2 /drivers/iommu/omap-iommu.c
parent7b6d45f139262aa7b1b604a67963e5c8c01304d3 (diff)
downloadop-kernel-dev-e4efd94bde1a2df9f1344ff936d42b4a78b9acc0.zip
op-kernel-dev-e4efd94bde1a2df9f1344ff936d42b4a78b9acc0.tar.gz
iommu/omap: always provide iommu debug code
The iommu module on omap contains a few functions that are only used by the debug module. These are however only there when the debug code is built as a module. Since it is possible to build the debug code into the kernel, the functions should also be provided for the built-in case. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r--drivers/iommu/omap-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c
index bd5f606..4d2ba0d 100644
--- a/drivers/iommu/omap-iommu.c
+++ b/drivers/iommu/omap-iommu.c
@@ -381,7 +381,7 @@ static void flush_iotlb_all(struct omap_iommu *obj)
clk_disable(obj->clk);
}
-#if defined(CONFIG_OMAP_IOMMU_DEBUG_MODULE)
+#if defined(CONFIG_OMAP_IOMMU_DEBUG) || defined(CONFIG_OMAP_IOMMU_DEBUG_MODULE)
ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes)
{
OpenPOWER on IntegriCloud