mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/sd/sdcard: Make sd_data_ready() static
sd_data_ready() belongs to the legacy API. As its last user has been converted to the SDBus API, make it static. Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-Id: <20180216022933.10945-7-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
583d09f078
commit
38626a3314
2 changed files with 1 additions and 2 deletions
|
@ -2082,7 +2082,7 @@ uint8_t sd_read_data(SDState *sd)
|
|||
return ret;
|
||||
}
|
||||
|
||||
bool sd_data_ready(SDState *sd)
|
||||
static bool sd_data_ready(SDState *sd)
|
||||
{
|
||||
return sd->state == sd_sendingdata_state;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue