ide: refactor retry_unit set and clear into separate function
[qemu.git] / hw / s390x / ccw-device.c
blob28ea20440e54299682e89223e0bcf175314f2970
1 /*
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
9 * directory.
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),
19 .abstract = true,
22 static void ccw_device_register(void)
24 type_register_static(&ccw_device_info);
27 type_init(ccw_device_register)