ARM: pxa: sharpsl pm needs SPI
authorArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 20:03:58 +0000 (22:03 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Sat, 8 Oct 2011 13:03:06 +0000 (21:03 +0800)
The sharpsl code selects the max1111 spi driver, so it must also
ensure that SPI itself is enabled. The platform does not work
without max1111.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/Kconfig

index e435b25..61d3c72 100644 (file)
@@ -706,6 +706,8 @@ config SHARPSL_PM
 config SHARPSL_PM_MAX1111
        bool
        select HWMON
+       select SPI
+       select SPI_MASTER
        select SENSORS_MAX1111
 
 config PXA_HAVE_ISA_IRQS