summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorEduardo Habkost2020-09-03 00:42:56 +0200
committerEduardo Habkost2020-09-09 19:20:22 +0200
commit5b07883c2b90f23d32603e1d01665711401b760d (patch)
tree445f29655a3d0397a4fd5de905c318112eb1440a /include/hw
parentrs6000_mc: Rename RS6000MC_DEVICE to RS6000MC (diff)
downloadqemu-5b07883c2b90f23d32603e1d01665711401b760d.tar.gz
qemu-5b07883c2b90f23d32603e1d01665711401b760d.tar.xz
qemu-5b07883c2b90f23d32603e1d01665711401b760d.zip
sabre: Rename SABRE_DEVICE to SABRE
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200902224311.1321159-49-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/pci-host/sabre.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/pci-host/sabre.h b/include/hw/pci-host/sabre.h
index 597bf70d69..7a76de4b9e 100644
--- a/include/hw/pci-host/sabre.h
+++ b/include/hw/pci-host/sabre.h
@@ -51,7 +51,7 @@ struct SabreState {
typedef struct SabreState SabreState;
#define TYPE_SABRE "sabre"
-DECLARE_INSTANCE_CHECKER(SabreState, SABRE_DEVICE,
+DECLARE_INSTANCE_CHECKER(SabreState, SABRE,
TYPE_SABRE)
#endif