Skip to content

Commit e4efd94

Browse files
arndbjoergroedel
authored andcommitted
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 <[email protected]> Signed-off-by: Ohad Ben-Cohen <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent 7b6d45f commit e4efd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/omap-iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ static void flush_iotlb_all(struct omap_iommu *obj)
381381
clk_disable(obj->clk);
382382
}
383383

384-
#if defined(CONFIG_OMAP_IOMMU_DEBUG_MODULE)
384+
#if defined(CONFIG_OMAP_IOMMU_DEBUG) || defined(CONFIG_OMAP_IOMMU_DEBUG_MODULE)
385385

386386
ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes)
387387
{

0 commit comments

Comments
 (0)