2 * Common device infrastructure for devices in the virtual css
4 * Copyright 2016 IBM Corp.
5 * Author(s): Jing Liu <liujbjl@linux.vnet.ibm.com>
7 * This work is licensed under the terms of the GNU GPL, version 2 or (at
8 * your option) any later version. See the COPYING file in the top-level
11 #include "qemu/osdep.h"
12 #include "ccw-device.h"
14 static const TypeInfo ccw_device_info
= {
15 .name
= TYPE_CCW_DEVICE
,
16 .parent
= TYPE_DEVICE
,
17 .instance_size
= sizeof(CcwDevice
),
18 .class_size
= sizeof(CCWDeviceClass
),
22 static void ccw_device_register(void)
24 type_register_static(&ccw_device_info
);
27 type_init(ccw_device_register
)