diff options
author | Philippe Mathieu-Daudé | 2018-02-16 03:01:26 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2020-08-21 16:23:15 +0200 |
commit | 38626a33145aa71b38e728ed0f178571fb49c1f7 (patch) | |
tree | 7efa99e5978741bf85729278db95990df5aadc89 /hw/sd/sd.c | |
parent | hw/sd/pl181: Replace disabled fprintf()s by trace events (diff) | |
download | qemu-38626a33145aa71b38e728ed0f178571fb49c1f7.tar.gz qemu-38626a33145aa71b38e728ed0f178571fb49c1f7.tar.xz qemu-38626a33145aa71b38e728ed0f178571fb49c1f7.zip |
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>
Diffstat (limited to 'hw/sd/sd.c')
-rw-r--r-- | hw/sd/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/sd.c b/hw/sd/sd.c index fad9cf1ee7..a5ae5dccbe 100644 --- a/hw/sd/sd.c +++ b/hw/sd/sd.c @@ -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; } |