linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB: select WWAN_CORE for USB_WDM
@ 2021-05-17 20:52 trix
  0 siblings, 0 replies; only message in thread
From: trix @ 2021-05-17 20:52 UTC (permalink / raw)
  To: gregkh, masahiroy; +Cc: linux-usb, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

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

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/usb/class/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/class/Kconfig b/drivers/usb/class/Kconfig
index d3f5162bd67ef..e5714fddf1642 100644
--- a/drivers/usb/class/Kconfig
+++ b/drivers/usb/class/Kconfig
@@ -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
-- 
2.26.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-17 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 20:52 [PATCH] USB: select WWAN_CORE for USB_WDM trix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).