[U-Boot] [PATCH] drivers/net/e1000_spi.c: Fix build warnings

Mike Frysinger vapier at gentoo.org
Tue Dec 20 18:19:58 CET 2011


On Tuesday 20 December 2011 07:29:03 Anatolij Gustschin wrote:
> -	struct e1000_hw *hw = e1000_hw_from_spi(spi);
> +	__maybe_unused struct e1000_hw *hw = e1000_hw_from_spi(spi);
>  	E1000_DBG(hw->nic, "EEPROM SPI access released\n");

fix the E1000_DBG() macro to use debug() instead
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111220/68612fb4/attachment.pgp>


More information about the U-Boot mailing list