diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-02 14:34:05 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-10-10 06:03:14 -0400 |
commit | e4efd94bde1a2df9f1344ff936d42b4a78b9acc0 (patch) | |
tree | 5b81124e2d491069d6c6fdb9c26c0cb0471593b2 /drivers/iommu | |
parent | 7b6d45f139262aa7b1b604a67963e5c8c01304d3 (diff) |
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')
-rw-r--r-- | drivers/iommu/omap-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index bd5f6064c74a..4d2ba0d60c56 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) | |||
381 | clk_disable(obj->clk); | 381 | clk_disable(obj->clk); |
382 | } | 382 | } |
383 | 383 | ||
384 | #if defined(CONFIG_OMAP_IOMMU_DEBUG_MODULE) | 384 | #if defined(CONFIG_OMAP_IOMMU_DEBUG) || defined(CONFIG_OMAP_IOMMU_DEBUG_MODULE) |
385 | 385 | ||
386 | ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes) | 386 | ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes) |
387 | { | 387 | { |