[PATCH v2 03/20] coresight: use IS_ENABLED for CONFIGs that may be modules

Suzuki K Poulose suzuki.poulose at arm.com
Wed Jul 15 12:26:03 EDT 2020


On 07/14/2020 06:48 AM, Tingwei Zhang wrote:
> From: Kim Phillips <kim.phillips at arm.com>
> 
> 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 at linaro.org>
> Cc: Leo Yan <leo.yan at linaro.org>
> Cc: Alexander Shishkin <alexander.shishkin at linux.intel.com>
> Cc: Randy Dunlap <rdunlap at infradead.org>
> Cc: Suzuki K Poulose <Suzuki.Poulose at arm.com>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Russell King <linux at armlinux.org.uk>
> Signed-off-by: Kim Phillips <kim.phillips at arm.com>
> Signed-off-by: Tingwei Zhang <tingwei at codeaurora.org>

Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>



More information about the linux-arm-kernel mailing list