From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 20 Dec 2011 12:19:58 -0500 Subject: [U-Boot] [PATCH] drivers/net/e1000_spi.c: Fix build warnings In-Reply-To: <1324384143-10198-1-git-send-email-agust@denx.de> References: <1324384143-10198-1-git-send-email-agust@denx.de> Message-ID: <201112201219.59623.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: