]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
misc: Make AB8500_PWM driver depend on U8500 due to PWM breakage
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Dec 2010 12:28:11 +0000 (12:28 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:38:12 +0000 (12:38 +0100)
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>
drivers/misc/Kconfig

index 1e1a4be8eb6cc11e22a5a40e509bcfd74bd45c80..cc8e49db45fee026c023272f59f59ede0a1667dc 100644 (file)
@@ -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