Re: [PATCH v2 03/20] coresight: use IS_ENABLED for CONFIGs that may be modules
From: Suzuki K Poulose <suzuki.poulose@arm.com>
Date: 2020-07-15 16:22:22
From: Suzuki K Poulose <suzuki.poulose@arm.com>
Date: 2020-07-15 16:22:22
On 07/14/2020 06:48 AM, Tingwei Zhang wrote:
From: Kim Phillips <redacted> Checking for ifdef CONFIG_x fails if CONFIG_x=m. Use IS_ENABLED that is true for both built-ins and modules, instead. Required when building coresight components as modules. Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Leo Yan <redacted> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Randy Dunlap <redacted> Cc: Suzuki K Poulose <Suzuki.Poulose@arm.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Kim Phillips <redacted> Signed-off-by: Tingwei Zhang <redacted>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel