]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sd.h
hw/sd.c: convert binary variables to bool
authorMitsyanko Igor <i.mitsyanko@samsung.com>
Mon, 13 Aug 2012 10:04:06 +0000 (11:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Aug 2012 10:04:06 +0000 (11:04 +0100)
commitbebd12717c76b251514098bb9682d0309642e565
treec7c421d11ba3a7e5f10f46b0385614510c216cbf
parentb7202b8870ebb8e9b0246361c96e129172738f82
hw/sd.c: convert binary variables to bool

Several members of SDState have type int when they actually are binary variables.
Change type of these variables to bool to improve code readability. Change SD API
to be in consistency with new variables type.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd.c
hw/sd.h