summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/common
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/usb/common')
-rw-r--r--kernel/drivers/usb/common/common.c1
-rw-r--r--kernel/drivers/usb/common/usb-otg-fsm.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/drivers/usb/common/common.c b/kernel/drivers/usb/common/common.c
index 673d53038..a00bfb93a 100644
--- a/kernel/drivers/usb/common/common.c
+++ b/kernel/drivers/usb/common/common.c
@@ -50,6 +50,7 @@ static const char *const speed_names[] = {
[USB_SPEED_HIGH] = "high-speed",
[USB_SPEED_WIRELESS] = "wireless",
[USB_SPEED_SUPER] = "super-speed",
+ [USB_SPEED_SUPER_PLUS] = "super-speed-plus",
};
const char *usb_speed_string(enum usb_device_speed speed)
diff --git a/kernel/drivers/usb/common/usb-otg-fsm.c b/kernel/drivers/usb/common/usb-otg-fsm.c
index 61d538aa2..4f4f06a58 100644
--- a/kernel/drivers/usb/common/usb-otg-fsm.c
+++ b/kernel/drivers/usb/common/usb-otg-fsm.c
@@ -21,6 +21,7 @@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mutex.h>
@@ -365,3 +366,4 @@ int otg_statemachine(struct otg_fsm *fsm)
return state_changed;
}
EXPORT_SYMBOL_GPL(otg_statemachine);
+MODULE_LICENSE("GPL");