From: Mark Brown Date: Mon, 20 Dec 2010 12:28:11 +0000 (+0000) Subject: misc: Make AB8500_PWM driver depend on U8500 due to PWM breakage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b14375800751da9fcd63ec11d39a86077f214dc2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git misc: Make AB8500_PWM driver depend on U8500 due to PWM breakage Since we don't have a PWM API every PWM driver ends up exporting its own version and we need to limit the platforms we try to build them on in order to avoid multiple definitions. As the AB8500 is normally a companion chip for the U8500 CPU depend on that architecture. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 1e1a4be8eb6c..cc8e49db45fe 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -64,7 +64,7 @@ config ATMEL_PWM config AB8500_PWM bool "AB8500 PWM support" - depends on AB8500_CORE + depends on AB8500_CORE && ARCH_U8500 select HAVE_PWM help This driver exports functions to enable/disble/config/free Pulse