From 45e2a9b48538ac7ce4ed557f31a0618782a72aa1 Mon Sep 17 00:00:00 2001 From: Eric Miao Date: Tue, 21 Oct 2008 11:36:19 +0800 Subject: [ARM] pxa: fix the corgi_ssp.c dependency issue in {corgi,spitz}_defconfig Separate building of corgi_ssp.c, and introduce a new hidden config option CONFIG_CORGI_SSP_DEPRECATED for this. Aslo mark corgi_ts.c and corgi_bl.c as deprecated. This unbreaks the legacy configs in {corgi,spitz}_defconfig, however, SPI based ADS7846 touchscreen driver and a new SPI-based corgi_lcd.c driver with integrated backlight support are recommended. Signed-off-by: Eric Miao --- drivers/video/backlight/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drivers/video/backlight') diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index c72a1356295..1495a8136fc 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -115,14 +115,18 @@ config BACKLIGHT_ATMEL_PWM called atmel-pwm-bl. config BACKLIGHT_CORGI - tristate "Generic (aka Sharp Corgi) Backlight Driver" + tristate "Generic (aka Sharp Corgi) Backlight Driver (DEPRECATED)" depends on BACKLIGHT_CLASS_DEVICE + select CORGI_SSP_DEPRECATED default n help Say y to enable the generic platform backlight driver previously known as the Corgi backlight driver. If you have a Sharp Zaurus SL-C7xx, SL-Cxx00 or SL-6000x say y. Most users can say n. + Note: this driver is marked as deprecated, try enable SPI and + use the new corgi_lcd driver with integrated backlight control + config BACKLIGHT_LOCOMO tristate "Sharp LOCOMO LCD/Backlight Driver" depends on BACKLIGHT_CLASS_DEVICE && SHARP_LOCOMO -- cgit v1.2.3 From 6ffab0efc17f70f44810ae50fc40f934c8173f35 Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 23 Oct 2008 22:06:53 +0100 Subject: [ARM] pxa: corgi backlight driver should not select ssp drivers Resolves build errors with eseries and magician defconfigs (which make use of the corgi backlight driver.) Signed-off-by: Russell King --- drivers/video/backlight/Kconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/video/backlight') diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 1495a8136fc..a339e7f6067 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -117,7 +117,6 @@ config BACKLIGHT_ATMEL_PWM config BACKLIGHT_CORGI tristate "Generic (aka Sharp Corgi) Backlight Driver (DEPRECATED)" depends on BACKLIGHT_CLASS_DEVICE - select CORGI_SSP_DEPRECATED default n help Say y to enable the generic platform backlight driver previously -- cgit v1.2.3