aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-hid.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-09 17:07:51 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:38 -0600
commit0fe6d12e0bc752c29a93ac83a274e3650d457069 (patch)
treec64224edae0e3225075045fef03d60caa6bc1600 /hw/usb-hid.c
parentba32edab7fdab0e74b54696942b4127d26861cf6 (diff)
downloadqemu-0fe6d12e0bc752c29a93ac83a274e3650d457069.zip
qemu-0fe6d12e0bc752c29a93ac83a274e3650d457069.tar.gz
qemu-0fe6d12e0bc752c29a93ac83a274e3650d457069.tar.bz2
qdev: Rename USBDevice member devname to product_desc
It's not a device name, it's the USB product description string. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-hid.c')
-rw-r--r--hw/usb-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index f4a2a48..6621f72 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -701,7 +701,7 @@ static int usb_hid_handle_control(USBDevice *dev, int request, int value,
break;
case 2:
/* product description */
- ret = set_usb_string(data, s->dev.devname);
+ ret = set_usb_string(data, s->dev.product_desc);
break;
case 3:
/* vendor description */