From: Arnd Bergmann Date: Thu, 24 Jul 2014 11:18:22 +0000 (+0200) Subject: bus: ARM CCN: add PERF_EVENTS dependency X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce58d2baf53c5f9ce9836b99328b419fed40fcbd;p=linux-beck.git bus: ARM CCN: add PERF_EVENTS dependency The CCN driver makes no sense without PERF_EVENTS, and trying to build it when that option is disabled results in compile errors, so it's best to just add a strong Kconfig dependency. Signed-off-by: Arnd Bergmann --- diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 5c0c2764839f..603eb1be4f6a 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -53,6 +53,7 @@ config ARM_CCI config ARM_CCN bool "ARM CCN driver support" depends on ARM || ARM64 + depends on PERF_EVENTS help PMU (perf) driver supporting the ARM CCN (Cache Coherent Network) interconnect.