Revision 02ce600c hw/pxa2xx_mmci.c
b/hw/pxa2xx_mmci.c | ||
---|---|---|
545 | 545 |
return s; |
546 | 546 |
} |
547 | 547 |
|
548 |
void pxa2xx_mmci_handlers(struct pxa2xx_mmci_s *s, void *opaque, |
|
549 |
void (*readonly_cb)(void *, int), |
|
550 |
void (*coverswitch_cb)(void *, int)) |
|
548 |
void pxa2xx_mmci_handlers(struct pxa2xx_mmci_s *s, qemu_irq readonly, |
|
549 |
qemu_irq coverswitch) |
|
551 | 550 |
{ |
552 |
sd_set_cb(s->card, opaque, readonly_cb, coverswitch_cb);
|
|
551 |
sd_set_cb(s->card, read, coverswitch);
|
|
553 | 552 |
} |
Also available in: Unified diff