Commit fd6de530 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

backlight: ili9320: add missing SPI dependency

Add this missing SPI dependency and prevent the driver from building
without SPI, because functions of the spi driver are used in this
driver.

  drivers/video/backlight/ili9320.c:51: undefined reference to `spi_sync'

Also, a prompt string for CONFIG_LCD_ILI9320 is added for explicit
selection.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4cef7299
...@@ -60,7 +60,8 @@ config LCD_LTV350QV ...@@ -60,7 +60,8 @@ config LCD_LTV350QV
The LTV350QV panel is present on all ATSTK1000 boards. The LTV350QV panel is present on all ATSTK1000 boards.
config LCD_ILI9320 config LCD_ILI9320
tristate tristate "ILI Technology ILI9320 controller support"
depends on SPI
help help
If you have a panel based on the ILI9320 controller chip If you have a panel based on the ILI9320 controller chip
then say y to include a power driver for it. then say y to include a power driver for it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment