aboutsummaryrefslogtreecommitdiff
path: root/block/commit.c
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2017-10-20 09:38:52 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2017-11-08 13:21:37 +1100
commitc91c187f715aded9e1ac28412bba41fd3cbaf010 (patch)
treef2e27e9de26a6dea081b34477c9654dee5fc3390 /block/commit.c
parent79b217dedb5ce70c5bc169b5e64b8a1f0d4bef9c (diff)
e500: ppce500_init_mpic() return device instead of IRQ array
Actual number of interrupt pins isn't known in ppce500_init_mpic() so a hardcoded number was used, which causes a crash with older openpic. Instead, return the DeviceState* and change ppce500_init() to call qdev_get_gpio_in() to get only the irq pins which are needed. Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions