[v1] powerpc/mpc512x: silence build warning upon disabled DIU

Brian Norris computersforpeace at gmail.com
Sat Oct 12 04:33:29 EST 2013


Hi,

On Thu, Oct 10, 2013 at 12:37 PM, Anatolij Gustschin <agust at denx.de> wrote:
> On Thu, 10 Oct 2013 11:23:55 -0700
> Brian Norris <computersforpeace at gmail.com> wrote:
>> > Yes, we also have to remove CONFIG_FB_FSL_DIU ifdef in
>> > arch/powerpc/sysdev/fsl_soc.h and building should work then.
>>
>> Still want it around this line, probably, so we'll get compiler errors
>> and not linker errors if someone tries to use it?
>>
>>     extern struct platform_diu_data_ops diu_ops;

I was wrong about this: we need to remove the #ifdef for this extern
as well, because the 'diu_ops' symbol is used in either case with my
patch. Sending out my patch now.

Brian


More information about the Linuxppc-dev mailing list