xref: /openbmc/qemu/hw/pcmcia/pcmcia.c (revision 3d9569b8)
1 /*
2  * PCMCIA emulation
3  *
4  * Copyright 2013 SUSE LINUX Products GmbH
5  */
6 
7 #include "qemu/osdep.h"
8 #include "qemu/module.h"
9 #include "hw/hw.h"
10 #include "hw/pcmcia.h"
11 
12 static const TypeInfo pcmcia_card_type_info = {
13     .name = TYPE_PCMCIA_CARD,
14     .parent = TYPE_DEVICE,
15     .instance_size = sizeof(PCMCIACardState),
16     .abstract = true,
17     .class_size = sizeof(PCMCIACardClass),
18 };
19 
20 static void pcmcia_register_types(void)
21 {
22     type_register_static(&pcmcia_card_type_info);
23 }
24 
25 type_init(pcmcia_register_types)
26