Re: [PATCH 06/17] ARM: pxa: work around duplicate definition of GPIO24_SSP1_SFRM

2012-10-02 Thread Igor Grinberg
On 10/02/12 18:36, Arnd Bergmann wrote: > The symbol "GPIO24_SSP1_SFRM" is defined in both mfp-pxa27x.h and > mfp-pxa25x.h. Since the macro is not actually used in the cm-x2xx.c > file, but it includes both headers, a safe workaround should be > to just undefine it from the .c file. This is a bit h

[PATCH 06/17] ARM: pxa: work around duplicate definition of GPIO24_SSP1_SFRM

2012-10-02 Thread Arnd Bergmann
The symbol "GPIO24_SSP1_SFRM" is defined in both mfp-pxa27x.h and mfp-pxa25x.h. Since the macro is not actually used in the cm-x2xx.c file, but it includes both headers, a safe workaround should be to just undefine it from the .c file. This is a bit hacky and the headers should be fixed to not both