瀏覽代碼

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 12 年之前
父節點
當前提交
86e929e825
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 {
 }