]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: fix cdc-phonet.c dependency and build error
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 16 Sep 2015 18:32:41 +0000 (11:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Sep 2015 18:51:19 +0000 (11:51 -0700)
Fix build error caused by missing Kconfig dependency:

ERROR: "cdc_parse_cdc_header" [drivers/net/usb/cdc-phonet.ko] undefined!

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/Kconfig

index 1610b79ae3866725a12f9af8a2ed83255999217a..975357ddeae62b56eb9e1627ae2c3c183ebc2ec6 100644 (file)
@@ -541,7 +541,7 @@ config USB_NET_INT51X1
 
 config USB_CDC_PHONET
        tristate "CDC Phonet support"
-       depends on PHONET
+       depends on PHONET && USB_USBNET
        help
          Choose this option to support the Phonet interface to a Nokia
          cellular modem, as found on most Nokia handsets with the