commit | 173ddc5b68fa41e55293d1095cafdc21fd11cf65 | [log] [tgz] |
---|---|---|
author | Peter Korsgaard <peter.korsgaard@barco.com> | Thu Mar 21 04:00:04 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Sun Mar 24 12:49:12 2013 -0400 |
tree | 6487fe82edcbccd64cc5e30a1d98a9193df25fa5 | |
parent | d4e1da4e093d156d30bd08c90ec2e733d50904a2 [diff] |
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>