Преглед изворни кода

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 <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Mark Brown пре 14 година
родитељ
комит
b143758007
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/misc/Kconfig

+ 1 - 1
drivers/misc/Kconfig

@@ -64,7 +64,7 @@ config ATMEL_PWM
 
 
 config AB8500_PWM
 config AB8500_PWM
 	bool "AB8500 PWM support"
 	bool "AB8500 PWM support"
-	depends on AB8500_CORE
+	depends on AB8500_CORE && ARCH_U8500
 	select HAVE_PWM
 	select HAVE_PWM
 	help
 	help
 	  This driver exports functions to enable/disble/config/free Pulse
 	  This driver exports functions to enable/disble/config/free Pulse