Skip to content

Commit

Permalink
backlight: ili9320: add missing SPI dependency
Browse files Browse the repository at this point in the history
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: Jingoo Han <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Ben Dooks <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Jingoo Han authored and torvalds committed Oct 25, 2012
1 parent 4cef729 commit fd6de53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/video/backlight/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ config LCD_LTV350QV
The LTV350QV panel is present on all ATSTK1000 boards.

config LCD_ILI9320
tristate
tristate "ILI Technology ILI9320 controller support"
depends on SPI
help
If you have a panel based on the ILI9320 controller chip
then say y to include a power driver for it.
Expand Down

0 comments on commit fd6de53

Please sign in to comment.