aboutsummaryrefslogtreecommitdiff
path: root/hw/pcmcia
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-20 15:03:26 +0200
committerPeter Maydell <peter.maydell@linaro.org>2023-10-27 12:48:57 +0100
commitcbf08c18512600650b8b25d1b7d7aa3a83846dc9 (patch)
tree39f6d999f84e78a612831359e62e595de3c7fd90 /hw/pcmcia
parent77d3fa5c3080c930af34f906263b0d883351eea9 (diff)
hw/pcmcia/pxa2xx: Inline pxa2xx_pcmcia_init()
Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20231020130331.50048-6-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pcmcia')
-rw-r--r--hw/pcmcia/pxa2xx.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/pcmcia/pxa2xx.c b/hw/pcmcia/pxa2xx.c
index 3d512a292c..e3111fdf1a 100644
--- a/hw/pcmcia/pxa2xx.c
+++ b/hw/pcmcia/pxa2xx.c
@@ -138,16 +138,6 @@ static void pxa2xx_pcmcia_set_irq(void *opaque, int line, int level)
qemu_set_irq(s->irq, level);
}
-PXA2xxPCMCIAState *pxa2xx_pcmcia_init(MemoryRegion *sysmem,
- hwaddr base)
-{
- DeviceState *dev;
-
- dev = sysbus_create_simple(TYPE_PXA2XX_PCMCIA, base, NULL);
-
- return PXA2XX_PCMCIA(dev);
-}
-
static void pxa2xx_pcmcia_initfn(Object *obj)
{
SysBusDevice *sbd = SYS_BUS_DEVICE(obj);