bus: ARM CCN: add PERF_EVENTS dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Jul 2014 11:18:22 +0000 (13:18 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 24 Jul 2014 11:18:22 +0000 (13:18 +0200)
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 <arnd@arndb.de>
drivers/bus/Kconfig

index 5c0c2764839f703053be59e44628ced6e8071e26..603eb1be4f6aa6bc79e0d3b9aeb31d92356018ff 100644 (file)
@@ -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.