From: Tom Rini Date: Tue, 26 Mar 2013 10:54:37 -0400 Subject: [U-Boot] [PATCH 2/2] mmc: omap_hsmmc.c: only register getcd/getwp callbacks if gpio could be used In-Reply-To: <1363874404-7356-2-git-send-email-peter.korsgaard@barco.com> References: <1363874404-7356-1-git-send-email-peter.korsgaard@barco.com> <1363874404-7356-2-git-send-email-peter.korsgaard@barco.com> Message-ID: <20130326145437.GN5711@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 Thu, Mar 21, 2013 at 03:00:04PM +0100, Peter Korsgaard wrote: > Gets rid of warnings from omap_gpio: > ERROR : check_gpio: invalid GPIO -1 > > (and undefined behaviour as the -1 error code is interpreted as gpio value) > > Signed-off-by: Peter Korsgaard Applied to u-boot-ti/master (and already pulled into u-boot-arm), thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: