From: Mike Dunn Date: Fri, 12 Apr 2013 18:59:14 +0000 (-0700) Subject: pxa_lcd: make lcd_enable() a weak pointer X-Git-Tag: v2013.07-rc1~86^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86e929e8252c9b2a6e74a9d53c9ef8a9d5353602;p=u-boot 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 --- 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) { }