On Mon, Jul 07, 2014 at 09:23:13PM +0100, Ian Campbell wrote: > On Mon, 2014-07-07 at 12:47 -0400, Tom Rini wrote: > > That's not how we like things to look however when we can help it. Just > > toss a __maybe_unused in front of the declaration (and make sure we have > > <linux/compiler.h> included. > > OK. How about the following? > > Hans, BTW, I spotted this issue with: > CROSS_COMPILE=arm-linux-gnueabihf- ./MAKEALL -s sunxi > which is a very useful invocation indeed!
FWIW, you might want to run -a arm from time to time since there's some shared drivers between sunxi and others. > From 5e0659b772380114a9e86624aefd1dcb09a90bd9 Mon Sep 17 00:00:00 2001 > From: Ian Campbell <i...@hellion.org.uk> > Date: Sun, 6 Jul 2014 20:03:20 +0100 > Subject: [PATCH] sunxi: Avoid unused variable warning. > > Mark rc as __maybe_unused since it is infact unused on systems with neither > EMAC nor GMAC. > > Signed-off-by: Ian Campbell <i...@hellion.org.uk> Acked-by: Tom Rini <tr...@ti.com> Thanks. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot