This patch adds this missing SPI dependency and prevents the driver from buiding without SPI, because funtion of spi driver is used in this driver. So, it fixes link error as belows:
drivers/video/backlight/ili9320.c:51: undefined reference to `spi_sync' Also, prompt string for CONFIG_LCD_ILI9320 is added for explicit selection. Signed-off-by: Jingoo Han <jg1....@samsung.com> Cc: Richard Purdie <rpur...@rpsys.net> Cc: Ben Dooks <ben-li...@fluff.org> --- Changes since v1: - commit log is modified to be more specific. drivers/video/backlight/Kconfig | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index c101697..765a945 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -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. -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/