mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
7b6d45f139
commit
e4efd94bde
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ static void flush_iotlb_all(struct omap_iommu *obj)
|
||||||
clk_disable(obj->clk);
|
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)
|
ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue