summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-09-07 07:30:06 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-25 12:38:14 +0400
commitff7a4c7130c0ad97d55f7ab3f0a35fbc1f41b376 (patch)
treee24ccea4bdb38720511e63f2f870e84b6fb2d7ac /include/linux/spi
parentf72de6638b8e55283739de174b57c0ae4203c446 (diff)
downloadlinux-ff7a4c7130c0ad97d55f7ab3f0a35fbc1f41b376.tar.xz
[ARM] corgi_lcd: use GPIO API for BACKLIGHT_ON and BACKLIGHT_CONT
Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/corgi_lcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/spi/corgi_lcd.h b/include/linux/spi/corgi_lcd.h
index b6161aae2752..6692b3418ccf 100644
--- a/include/linux/spi/corgi_lcd.h
+++ b/include/linux/spi/corgi_lcd.h
@@ -10,6 +10,9 @@ struct corgi_lcd_platform_data {
int default_intensity;
int limit_mask;
+ int gpio_backlight_on; /* -1 if n/a */
+ int gpio_backlight_cont; /* -1 if n/a */
+
void (*notify)(int intensity);
void (*kick_battery)(void);
};