summaryrefslogtreecommitdiffstats
path: root/qemu/hw/pcmcia/pcmcia.c
blob: 78efe5a67af3bd38cd35d304f1b1cc213e7fcc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * PCMCIA emulation
 *
 * Copyright 2013 SUSE LINUX Products GmbH
 */

#include "qemu-common.h"
#include "hw/hw.h"
#include "hw/pcmcia.h"

static const TypeInfo pcmcia_card_type_info = {
    .name = TYPE_PCMCIA_CARD,
    .parent = TYPE_DEVICE,
    .instance_size = sizeof(PCMCIACardState),
    .abstract = true,
    .class_size = sizeof(PCMCIACardClass),
};

static void pcmcia_register_types(void)
{
    type_register_static(&pcmcia_card_type_info);
}

type_init(pcmcia_register_types)