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>
This commit is contained in:
parent
98eda33858
commit
86e929e825
@ -410,7 +410,7 @@ void lcd_initcolregs (void)
|
||||
#endif /* LCD_MONOCHROME */
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
void lcd_enable (void)
|
||||
__weak void lcd_enable(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user