projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98eda33
)
pxa_lcd: make lcd_enable() a weak pointer
author
Mike Dunn
<mikedunn@newsguy.com>
Fri, 12 Apr 2013 18:59:14 +0000
(11:59 -0700)
committer
Marek Vasut
<marex@denx.de>
Sun, 5 May 2013 21:47:05 +0000
(23:47 +0200)
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>
drivers/video/pxa_lcd.c
patch
|
blob
|
history
diff --git
a/drivers/video/pxa_lcd.c
b/drivers/video/pxa_lcd.c
index d5fbe7b4b6dbf8f7993a1986e7c9931e3dce3937..5e4c6853cd59c17901866a5d3ede11b24ff5ba7b 100644
(file)
--- 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)
{
}