[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200117144010.11149-13-ykaukab@suse.de>
Date: Fri, 17 Jan 2020 15:40:07 +0100
From: Mian Yousaf Kaukab <ykaukab@...e.de>
To: linux-arm-kernel@...ts.infradead.org, mathieu.poirier@...aro.org
Cc: linux-kernel@...r.kernel.org, paul.gortmaker@...driver.com,
suzuki.poulose@....com, alexander.shishkin@...ux.intel.com,
Mian Yousaf Kaukab <ykaukab@...e.de>
Subject: [PATCH RFC 12/15] coresight: use IS_ENABLED macro for configuration symbols
Prepare to change configuration symbols type from bool to
tristate in Kconfig.
Signed-off-by: Mian Yousaf Kaukab <ykaukab@...e.de>
---
drivers/hwtracing/coresight/coresight-priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-priv.h b/drivers/hwtracing/coresight/coresight-priv.h
index 9212bc8a20c8..714bee6590ff 100644
--- a/drivers/hwtracing/coresight/coresight-priv.h
+++ b/drivers/hwtracing/coresight/coresight-priv.h
@@ -153,7 +153,7 @@ struct list_head *coresight_build_path(struct coresight_device *csdev,
struct coresight_device *sink);
void coresight_release_path(struct list_head *path);
-#ifdef CONFIG_CORESIGHT_SOURCE_ETM3X
+#if IS_ENABLED(CONFIG_CORESIGHT_SOURCE_ETM3X)
extern int etm_readl_cp14(u32 off, unsigned int *val);
extern int etm_writel_cp14(u32 off, u32 val);
#else
--
2.16.4
Powered by blists - more mailing lists