diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-05-13 15:09:58 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-05-28 21:48:47 +0200 |
commit | c1735af1df50b1837241053393c73a5296d2cf7f (patch) | |
tree | 40383c7ffdc839743751ba7e5b783d015bbe659d /hw/musicpal.c | |
parent | d8e06f973cc8e42aa1faa1216592aa9eb671f360 (diff) |
musicpal: Drop redundant reset call
Reset is now triggered after init, no need for explicit calls anymore.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/musicpal.c')
-rw-r--r-- | hw/musicpal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/musicpal.c b/hw/musicpal.c index ebd933e2f5..d44c5a0d44 100644 --- a/hw/musicpal.c +++ b/hw/musicpal.c @@ -1295,8 +1295,6 @@ static int musicpal_gpio_init(SysBusDevice *dev) musicpal_gpio_writefn, s); sysbus_init_mmio(dev, MP_GPIO_SIZE, iomemtype); - musicpal_gpio_reset(&dev->qdev); - qdev_init_gpio_out(&dev->qdev, s->out, ARRAY_SIZE(s->out)); qdev_init_gpio_in(&dev->qdev, musicpal_gpio_pin_event, 32); |