aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-desc.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-08-30 11:49:05 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-09-07 09:58:26 +0200
commit97237e0a5a95123a072a49eddd3bc5e20534f7fa (patch)
tree501448981d76cd464faaa7d78448dfd4a11c15fb /hw/usb-desc.h
parent4d8debba766265d70cb7bf11570e3622512641d6 (diff)
usb-ccid: switch to USBDesc*
Switch the smard card emulation to use the USBDesc* structs for the usb descriptors. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-desc.h')
-rw-r--r--hw/usb-desc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-desc.h b/hw/usb-desc.h
index 9d7ed599ce..5c14e4abdc 100644
--- a/hw/usb-desc.h
+++ b/hw/usb-desc.h
@@ -75,7 +75,7 @@ struct USBDescEndpoint {
struct USBDescOther {
uint8_t length;
- uint8_t *data;
+ const uint8_t *data;
};
typedef const char *USBDescStrings[256];