ppc/xive: use an abstract type for XiveNotifier
Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190718115420.19919-2-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
316f239c29
commit
1994d3aa47
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user