hw/sd/sdcard: Pass SDState as argument to sd_[a]cmd_name()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 20 Jun 2024 12:56:03 +0000 (14:56 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 08:08:32 +0000 (10:08 +0200)
commitfb72e681c9caccc5f9effce219447cae1ed05c9d
tree23e10096854662187392d57c6b0ce1978b88e9c7
parentd4613f9f40a355e5f99268ac9daf7ad14764e99f
hw/sd/sdcard: Pass SDState as argument to sd_[a]cmd_name()

In order to access SDState::SDProto from sd_[a]cmd_name(),
pass SDState as argument.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240628070216.92609-38-philmd@linaro.org>
hw/sd/sd.c