aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-01-13 16:13:47 +0100
committerAndrey Konovalov <andreyknvl@gmail.com>2020-01-13 16:14:45 +0100
commit23f3478a8c0be54e810d4fce7707464a39cb1163 (patch)
treeb01bb20dac88ebabbb0ef076f2780df03df07ff1 /executor
parent99565c1a260d7d4320bed9d77031c135fa5ae886 (diff)
executor: provide explicit values for usb_raw_event_type
To match the kernel uapi headers.
Diffstat (limited to 'executor')
-rw-r--r--executor/common_usb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/executor/common_usb.h b/executor/common_usb.h
index 687baf095..34e3e3166 100644
--- a/executor/common_usb.h
+++ b/executor/common_usb.h
@@ -85,9 +85,9 @@ struct usb_raw_init {
};
enum usb_raw_event_type {
- USB_RAW_EVENT_INVALID,
- USB_RAW_EVENT_CONNECT,
- USB_RAW_EVENT_CONTROL,
+ USB_RAW_EVENT_INVALID = 0,
+ USB_RAW_EVENT_CONNECT = 1,
+ USB_RAW_EVENT_CONTROL = 2,
};
struct usb_raw_event {