From f052e914c84ef3a60d0cb9ddce3f77006e59a586 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 6 Nov 2020 12:01:53 +0100 Subject: port: rename subsystem from 'usb' to 'usbmisc' Back in Linux < 3.6 days, the cdc-wdm ports exposed by the QMI driver were flagged as owned by the 'usb' subsystem. That changed in 3.6 when the subsystem was renamed to 'usbmisc': https://mail.gnome.org/archives/networkmanager-list/2012-June/msg00125.html So, rename the port subsystem type enumn to 'usbmisc'. --- src/mm-port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mm-port.h') diff --git a/src/mm-port.h b/src/mm-port.h index 7bf85fb2..2d8d1ad6 100644 --- a/src/mm-port.h +++ b/src/mm-port.h @@ -26,7 +26,7 @@ typedef enum { /*< underscore_name=mm_port_subsys >*/ MM_PORT_SUBSYS_UNKNOWN = 0x0, MM_PORT_SUBSYS_TTY, MM_PORT_SUBSYS_NET, - MM_PORT_SUBSYS_USB, + MM_PORT_SUBSYS_USBMISC, MM_PORT_SUBSYS_UNIX, MM_PORT_SUBSYS_LAST = MM_PORT_SUBSYS_UNIX /*< skip >*/ -- cgit v1.2.3-70-g09d2