hw/sd: Move proto_name to SDProto structure
commit1b4a234278f04ade4dd358224edc3defcd37fda7
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 30 May 2022 17:09:27 +0000 (30 19:09 +0200)
committerCédric Le Goater <clg@kaod.org>
Fri, 1 Sep 2023 09:40:04 +0000 (1 11:40 +0200)
treeb07743fb792bd829580ab05388915dc684488e95
parent94ef3041d21a00bb2d57c987c87c6eeb8812c488
hw/sd: Move proto_name to SDProto structure

Introduce a new structure to hold the bus protocol specific
fields: SDProto. The first field is the protocol name.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210624142209.1193073-4-f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/sd/sd.c
include/hw/sd/sd.h