drivers/tosa: driver needs I2C and SPI to compile
authorArnd Bergmann <arnd@arndb.de>
Tue, 15 May 2012 21:03:01 +0000 (15:03 -0600)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 9 Jun 2012 12:51:12 +0000 (12:51 +0000)
This driver requires both SPI and I2C to build.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/backlight/Kconfig

index af16884491edf45cf3105f79e340a6b912757541..d7487d23f58b88b770d5c382b2e8b0e5567b58c2 100644 (file)
@@ -88,7 +88,7 @@ config LCD_PLATFORM
 
 config LCD_TOSA
        tristate "Sharp SL-6000 LCD Driver"
-       depends on SPI && MACH_TOSA
+       depends on I2C && SPI && MACH_TOSA
        help
          If you have an Sharp SL-6000 Zaurus say Y to enable a driver
          for its LCD.