Skip to contentSkip to conversation

USB: select WWAN_CORE for USB_WDM

PATCH New [email protected] 1 participant 1 message May 17, 2021 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: select WWAN_CORE for USB_WDM

From: Tom Rix <[email protected]>

Link is failing with
cdc-wdm.c: undefined reference to `wwan_port_get_drvdata'

Add a select of WWAN_CORE to USB_WDM configury similar to what is done for drivers/net/mhi_wwan_ctrl.c

---
 drivers/usb/class/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/class/Kconfig +1 -0
index d3f5162bd67ef..e5714fddf1642 100644
@@ -30,6 +30,7 @@ config USB_PRINTER
 
 config USB_WDM
 	tristate "USB Wireless Device Management support"
+	select WWAN_CORE
 	help
 	  This driver supports the WMC Device Management functionality
 	  of cell phones compliant to the CDC WMC specification. You can use
Signature · 1 line
2.26.3