usb hid: move head+n to common struct
commit42292d4e51ac01eb28360d53127337fe275c39c5
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 14 Jan 2011 08:23:22 +0000 (14 09:23 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jan 2011 16:21:34 +0000 (24 17:21 +0100)
tree1fa5a9e22a3a603bcdee8ab2ce2b2f422395433c
parent5fae51a9c26c025b94f8d7c40f54b65049de7227
usb hid: move head+n to common struct

This patch moves the 'head' and 'n' fields from USBMouseState and
USBKeyboardState to the common USBHIDState struct.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hid.c