[PATCH v2] arm: mach-omap2: remove NULL board_mux from board files

Aaro Koskinen aaro.koskinen at nokia.com
Thu Dec 2 06:04:57 EST 2010


Hi,

On Thu, 2 Dec 2010, Felipe Balbi wrote:
> On Thu, Dec 02, 2010 at 11:53:42AM +0200, Aaro Koskinen wrote:
>> diff --git a/arch/arm/mach-omap2/mux.h b/arch/arm/mach-omap2/mux.h
>> index 350c04f..e224ab5 100644
>> --- a/arch/arm/mach-omap2/mux.h
>> +++ b/arch/arm/mach-omap2/mux.h
>> @@ -133,6 +133,8 @@ static inline int omap_mux_init_signal(char *muxname, 
>> int val)
>> 	return 0;
>> }
>> 
>> +static struct omap_board_mux *board_mux __initdata 
>> __attribute__((unused));
>
> how about __unused ??

I don't think we have that:

   CC      arch/arm/mach-omap2/mux.o
In file included from arch/arm/mach-omap2/mux.c:39:
arch/arm/mach-omap2/mux.h:136: error: expected ',' or ';' before '__unused'
make[1]: *** [arch/arm/mach-omap2/mux.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

A.



More information about the linux-arm-kernel mailing list