mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
sdhci: Add "sysbus" to sdhci QOM types and methods
Update the sdhci sysbus QOM types and methods so that sysbus is in their name. This is in preparation for adding PCI versions of these types and methods. Signed-off-by: Kevin O'Connor <kevin@koconnor.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d368ba4376
commit
7302dcd60b
2 changed files with 27 additions and 18 deletions
|
@ -281,8 +281,8 @@ typedef struct SDHCIState {
|
|||
|
||||
extern const VMStateDescription sdhci_vmstate;
|
||||
|
||||
#define TYPE_SDHCI "generic-sdhci"
|
||||
#define SDHCI(obj) \
|
||||
OBJECT_CHECK(SDHCIState, (obj), TYPE_SDHCI)
|
||||
#define TYPE_SYSBUS_SDHCI "generic-sdhci"
|
||||
#define SYSBUS_SDHCI(obj) \
|
||||
OBJECT_CHECK(SDHCIState, (obj), TYPE_SYSBUS_SDHCI)
|
||||
|
||||
#endif /* SDHCI_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue