From: Arnd Bergmann Date: Thu, 24 Jul 2014 11:18:22 +0000 (+0200) Subject: bus: ARM CCN: add PERF_EVENTS dependency X-Git-Tag: v3.17-rc1~76^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce58d2baf53c5f9ce9836b99328b419fed40fcbd;p=thirdparty%2Fkernel%2Flinux.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 5c0c2764839f7..603eb1be4f6aa 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.