hw/sd: Don't pass BlockBackend to sd_reset()
commit16b781aaef69c90d5f4f5456615f0c26a4f45740
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:16 +0000 (12 11:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:16 +0000 (12 11:57 +0100)
tree7bede3a5f186b0c99b6a2a7750c09ad29f085b86
parent165cdaf857dc850f676fff0b5b873a51865baa9c
hw/sd: Don't pass BlockBackend to sd_reset()

The only valid BlockBackend to pass to sd_reset() is the one for
the SD card, which is sd->blk. Drop the second argument from this
function in favour of having it just use sd->blk.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1430683444-9797-1-git-send-email-peter.maydell@linaro.org
hw/sd/sd.c