summaryrefslogtreecommitdiffstats
path: root/src/usb-device.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-09-23 14:01:20 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-09-23 14:01:20 +0200
commitf0596631643e9f6c39e9a12af945d58ea0a38b05 (patch)
tree0e9711b75d38ae344475b0af44b4fcdf8523d0c8 /src/usb-device.h
parentd9e6d47f1b03a5b3bd6fa324ebd09f3eb27c3282 (diff)
download0xFFFF-f0596631643e9f6c39e9a12af945d58ea0a38b05.tar.bz2
usb-device: Check for USB product string if device match, remove detected_ prefix
Diffstat (limited to 'src/usb-device.h')
-rw-r--r--src/usb-device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usb-device.h b/src/usb-device.h
index 1eb7990..b1ca650 100644
--- a/src/usb-device.h
+++ b/src/usb-device.h
@@ -43,8 +43,8 @@ struct usb_flash_device {
};
struct usb_device_info {
- enum device detected_device;
- int16_t detected_hwrev;
+ enum device device;
+ int16_t hwrev;
const struct usb_flash_device * flash_device;
usb_dev_handle * udev;
};