diff options
Diffstat (limited to 'hw/pxa2xx_mmci.c')
-rw-r--r-- | hw/pxa2xx_mmci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/pxa2xx_mmci.c b/hw/pxa2xx_mmci.c index ed548dbad9..7eb7c7941e 100644 --- a/hw/pxa2xx_mmci.c +++ b/hw/pxa2xx_mmci.c @@ -545,9 +545,8 @@ struct pxa2xx_mmci_s *pxa2xx_mmci_init(target_phys_addr_t base, return s; } -void pxa2xx_mmci_handlers(struct pxa2xx_mmci_s *s, void *opaque, - void (*readonly_cb)(void *, int), - void (*coverswitch_cb)(void *, int)) +void pxa2xx_mmci_handlers(struct pxa2xx_mmci_s *s, qemu_irq readonly, + qemu_irq coverswitch) { - sd_set_cb(s->card, opaque, readonly_cb, coverswitch_cb); + sd_set_cb(s->card, read, coverswitch); } |