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