[U-Boot] [PATCH 2/8] pxa_lcd: make lcd_enable() a weak pointer

Mike Dunn
2013-04-08T17:49:02Z

On 04/07/2013 12:08 PM, Fabio Estevam wrote:
> On Sun, Apr 7, 2013 at 1:40 PM, Mike Dunn <mikedunn@newsguy.com> wrote:
>
>> +void lcd_enable(void)
>> + __attribute__((weak, alias("__lcd_enable")));
>
> What about declaring it as:
>
> __weak void lcd_enable(void)
>
>

Yes, that works. And very to-the-point :) Thanks.

Mike