summary refs log tree commit diff stats
path: root/hw/adb.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-09-07 13:47:22 +0200
committerAlexander Graf <agraf@suse.de>2011-10-06 09:48:07 +0200
commit11de8b716665f1f6d5e586c62411f47ae539c0dc (patch)
tree208f19e1f08d4729a524ffc82f409d7c88dc4e5a /hw/adb.c
parent8d3a8c1e77b0485d4335aa3733c550dc606ac819 (diff)
downloadfocaccia-qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.tar.gz
focaccia-qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.zip
openpic: Unfold write_IRQreg
The helper function write_IRQreg was always called with a specific argument on
the type of register to access. Inside the function we were simply doing a
switch on that constant argument again. It's a lot easier to just unfold this
into two separate functions and call each individually.

Reported-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/adb.c')
0 files changed, 0 insertions, 0 deletions