Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2773d8ad authored by Vivek Kumar's avatar Vivek Kumar Committed by Gerrit - the friendly Code Review server
Browse files

iommu/debug: Remove dependency on CONFIG_IOMMU_DEBUG_TRACKING



Compile 'iommu_debug_attr_to_string' function only when
CONFIG_IOMMU_TESTS is enabled ,because it is called
only from iommu test functions.

Change-Id: Ifb3624690abc8134c1176b8915dc1cfe0454a91e
Signed-off-by: default avatarVivek Kumar <vivekuma@codeaurora.org>
parent 61da3fb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <asm/dma-iommu.h>
#include "iommu-debug.h"

#if defined(CONFIG_IOMMU_DEBUG_TRACKING) || defined(CONFIG_IOMMU_TESTS)
#if defined(CONFIG_IOMMU_TESTS)

static const char *iommu_debug_attr_to_string(enum iommu_attr attr)
{