summary refs log tree commit diff stats
path: root/include/hw/usb.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-06-15 11:46:56 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-06-22 12:53:26 +0200
commiteb19d2b9d15bf68d27704e8727772924681644b8 (patch)
treec1c571c0ccf505c3feda2b48dda7d81b205ff503 /include/hw/usb.h
parent8d3830efca09c2431e03bd60a9b9583fea33370f (diff)
downloadfocaccia-qemu-eb19d2b9d15bf68d27704e8727772924681644b8.tar.gz
focaccia-qemu-eb19d2b9d15bf68d27704e8727772924681644b8.zip
usb: make USBDevice->attached bool
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1465984019-28963-3-git-send-email-kraxel@redhat.com
Diffstat (limited to 'include/hw/usb.h')
-rw-r--r--include/hw/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/usb.h b/include/hw/usb.h
index 163fe0490b..8f3947069e 100644
--- a/include/hw/usb.h
+++ b/include/hw/usb.h
@@ -235,7 +235,7 @@ struct USBDevice {
     uint8_t addr;
     char product_desc[32];
     int auto_attach;
-    int attached;
+    bool attached;
 
     int32_t state;
     uint8_t setup_buf[8];