diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-12-08 18:10:31 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-15 17:34:44 +0100 |
commit | 7302dcd60bbde1b11c298feb8134a34791f21b21 (patch) | |
tree | 96f2d8d3e2815f84ed0c0c54a32c39ac37f9ed31 /hw/sd/sdhci.h | |
parent | d368ba4376b2c1c24175c74b3733b8fe64dbe8a6 (diff) |
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>
Diffstat (limited to 'hw/sd/sdhci.h')
-rw-r--r-- | hw/sd/sdhci.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/sd/sdhci.h b/hw/sd/sdhci.h index 9a334ac96f..9fbf682935 100644 --- a/hw/sd/sdhci.h +++ b/hw/sd/sdhci.h @@ -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 */ |