diff options
author | Mike Dunn <mikedunn@newsguy.com> | 2013-04-12 11:59:14 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-05-05 23:47:05 +0200 |
commit | 86e929e8252c9b2a6e74a9d53c9ef8a9d5353602 (patch) | |
tree | 3e425994bce4111e8e2b2da3af016991acb1bcd9 /drivers | |
parent | 98eda33858e615611cb6a7c42527c3b72449ae04 (diff) | |
download | u-boot-86e929e8252c9b2a6e74a9d53c9ef8a9d5353602.tar.gz u-boot-86e929e8252c9b2a6e74a9d53c9ef8a9d5353602.tar.xz u-boot-86e929e8252c9b2a6e74a9d53c9ef8a9d5353602.zip |
pxa_lcd: make lcd_enable() a weak pointer
Make lcd_init() a weak pointer so that boards can overload it if necessary. The
palmtreo680 board needs to wiggle some gpios and configure the pwm controller in
order to get the lcd and its backlight working.
Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/pxa_lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c index d5fbe7b4b6..5e4c6853cd 100644 --- a/drivers/video/pxa_lcd.c +++ b/drivers/video/pxa_lcd.c @@ -410,7 +410,7 @@ void lcd_initcolregs (void) #endif /* LCD_MONOCHROME */ /*----------------------------------------------------------------------*/ -void lcd_enable (void) +__weak void lcd_enable(void) { } |