From: Cédric Le Goater Date: Thu, 18 Jul 2019 11:54:04 +0000 (+0200) Subject: ppc/xive: use an abstract type for XiveNotifier X-Git-Tag: v4.2.0-rc0~223^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1994d3aa4774c86e8e932531186613f3a0860efd;p=thirdparty%2Fqemu.git ppc/xive: use an abstract type for XiveNotifier Signed-off-by: Cédric Le Goater Message-Id: <20190718115420.19919-2-clg@kaod.org> Signed-off-by: David Gibson --- diff --git a/include/hw/ppc/xive.h b/include/hw/ppc/xive.h index 9399c77d2d8..ea6ae34375e 100644 --- a/include/hw/ppc/xive.h +++ b/include/hw/ppc/xive.h @@ -148,13 +148,11 @@ * XIVE Notifier (Interface between Source and Router) */ -typedef struct XiveNotifier { - Object parent; -} XiveNotifier; +typedef struct XiveNotifier XiveNotifier; #define TYPE_XIVE_NOTIFIER "xive-notifier" #define XIVE_NOTIFIER(obj) \ - OBJECT_CHECK(XiveNotifier, (obj), TYPE_XIVE_NOTIFIER) + INTERFACE_CHECK(XiveNotifier, (obj), TYPE_XIVE_NOTIFIER) #define XIVE_NOTIFIER_CLASS(klass) \ OBJECT_CLASS_CHECK(XiveNotifierClass, (klass), TYPE_XIVE_NOTIFIER) #define XIVE_NOTIFIER_GET_CLASS(obj) \