add GPL v2+ SPDX header
[project/usbmode.git] / switch.h
index 97c14f3ce411a3a181e64719a10c600bffc54dfc..309543e7c207f9eefce56ace9efcfa7730c26870 100644 (file)
--- a/switch.h
+++ b/switch.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 #ifndef __USBMODE_SWITCH_H
 #define __USBMODE_SWITCH_H
 
@@ -14,6 +15,7 @@ struct usbdev_data {
        int msg_endpoint;
        int response_endpoint;
        int release_delay;
+       int dev_class;
        bool need_response;
 
        char idstr[10];