summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-20 12:28:11 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-14 12:38:12 +0100
commitb14375800751da9fcd63ec11d39a86077f214dc2 (patch)
tree8baa69760688755b51ea02652324a6a35516e4af /drivers/misc
parent3ec33012dc07ab7e12fdd3f7f927c09264dcb5ec (diff)
downloadop-kernel-dev-b14375800751da9fcd63ec11d39a86077f214dc2.zip
op-kernel-dev-b14375800751da9fcd63ec11d39a86077f214dc2.tar.gz
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 1e1a4be..cc8e49d 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
OpenPOWER on IntegriCloud