diff options
author | Mitsyanko Igor <i.mitsyanko@samsung.com> | 2012-08-13 11:04:07 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-08-13 11:04:07 +0100 |
commit | 879bf4a716410c9c7933dea5a5f3d3867734efb6 (patch) | |
tree | 4cdf6921c6dd274b56453d6af7c1c739a9cfc5f3 /hw/sd.c | |
parent | bebd12717c76b251514098bb9682d0309642e565 (diff) |
hw/sd.c: make sd_dataready() return bool
For the sake of code clarity
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>
Diffstat (limited to 'hw/sd.c')
-rw-r--r-- | hw/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1703,7 +1703,7 @@ uint8_t sd_read_data(SDState *sd) return ret; } -int sd_data_ready(SDState *sd) +bool sd_data_ready(SDState *sd) { return sd->state == sd_sendingdata_state; } |