From: Tom Rini Date: Fri, 28 Mar 2014 17:15:26 -0400 Subject: [U-Boot] am335x_evm: Clarify when we build board_eth_init In-Reply-To: <1396021328-610-1-git-send-email-trini@ti.com> References: <1396021328-610-1-git-send-email-trini@ti.com> Message-ID: <20140328211526.GZ16360@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 28, 2014 at 11:42:08AM -0400, Tom Rini wrote: > If we build this function in cases where we would be discarding it > anyhow we still end up with maybe unused warnings. Rather than litter > the function with __maybe_unused, just spell out when to build it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: