On Thu, Dec 02, 2010 at 01:04:57PM +0200, Aaro Koskinen wrote:
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
sorry, it's __maybe_unused :-)
#define __maybe_unused __attribute__((unused))
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html