diff options
author | Peter Korsgaard <peter.korsgaard@barco.com> | 2013-03-21 04:00:04 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-24 12:49:12 -0400 |
commit | 173ddc5b68fa41e55293d1095cafdc21fd11cf65 (patch) | |
tree | 6487fe82edcbccd64cc5e30a1d98a9193df25fa5 /board | |
parent | d4e1da4e093d156d30bd08c90ec2e733d50904a2 (diff) | |
download | u-boot-imx-173ddc5b68fa41e55293d1095cafdc21fd11cf65.zip u-boot-imx-173ddc5b68fa41e55293d1095cafdc21fd11cf65.tar.gz u-boot-imx-173ddc5b68fa41e55293d1095cafdc21fd11cf65.tar.bz2 |
mmc: omap_hsmmc.c: only register getcd/getwp callbacks if gpio could be used
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 <peter.korsgaard@barco.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions