net: qmi_wwan: fix build error due to cdc-wdm dependecy
authorBjørn Mork <bjorn@mork.no>
Mon, 19 Mar 2012 07:48:29 +0000 (07:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Mar 2012 22:17:18 +0000 (18:17 -0400)
Fixes:

drivers/built-in.o: In function `qmi_wwan_bind_shared':
qmi_wwan.c:(.text+0x25b686): undefined reference to `usb_cdc_wdm_register'
make[1]: *** [.tmp_vmlinux1] Error 1

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/Kconfig

index 4bad899fb38f9ca6bdce7a24e7fb7726e86cd706..833e32f8d63baabebcee2f27b773ea3846695e41 100644 (file)
@@ -401,6 +401,7 @@ config USB_NET_KALMIA
 config USB_NET_QMI_WWAN
        tristate "QMI WWAN driver for Qualcomm MSM based 3G and LTE modems"
        depends on USB_USBNET
+       select USB_WDM
        help
          Support WWAN LTE/3G devices based on Qualcomm Mobile Data Modem
          (MDM) chipsets.  Examples of such devices are