aboutsummaryrefslogtreecommitdiff
path: root/include/hw/pci-host/uninorth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/pci-host/uninorth.h')
-rw-r--r--include/hw/pci-host/uninorth.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/pci-host/uninorth.h b/include/hw/pci-host/uninorth.h
index d10c598298..a6ba5f21a8 100644
--- a/include/hw/pci-host/uninorth.h
+++ b/include/hw/pci-host/uninorth.h
@@ -63,10 +63,8 @@ struct UNINState {
MemoryRegion mem;
};
-typedef struct UNINState UNINState;
#define TYPE_UNI_NORTH "uni-north"
-DECLARE_INSTANCE_CHECKER(UNINState, UNI_NORTH,
- TYPE_UNI_NORTH)
+OBJECT_DECLARE_SIMPLE_TYPE(UNINState, UNI_NORTH)
#endif /* UNINORTH_H */