Explorar o código

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>
Mike Dunn %!s(int64=12) %!d(string=hai) anos
pai
achega
86e929e825
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/video/pxa_lcd.c

+ 1 - 1
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)
 {
 }