diff options
author | Peter Korsgaard <peter.korsgaard@barco.com> | 2013-03-21 04:00:04 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-24 16:49:12 (GMT) |
commit | 173ddc5b68fa41e55293d1095cafdc21fd11cf65 (patch) | |
tree | 6487fe82edcbccd64cc5e30a1d98a9193df25fa5 /examples | |
parent | d4e1da4e093d156d30bd08c90ec2e733d50904a2 (diff) | |
download | u-boot-fsl-qoriq-173ddc5b68fa41e55293d1095cafdc21fd11cf65.tar.xz |
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 'examples')
0 files changed, 0 insertions, 0 deletions