summaryrefslogtreecommitdiff
path: root/drivers/net/usb/Kconfig
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2015-09-16 21:32:41 +0300
committerDavid S. Miller <davem@davemloft.net>2015-09-16 21:51:19 +0300
commit37d2dbcdcca88e392009d7cbe8617d5af0ebcb32 (patch)
tree270a693aa7b2c8e7333b75599de5f8fb29e6996a /drivers/net/usb/Kconfig
parentb84ee0d7f375ed7840c7c110d46eac24cf94b2a2 (diff)
downloadlinux-37d2dbcdcca88e392009d7cbe8617d5af0ebcb32.tar.xz
net: fix cdc-phonet.c dependency and build error
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>
Diffstat (limited to 'drivers/net/usb/Kconfig')
-rw-r--r--drivers/net/usb/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
index 1610b79ae386..975357ddeae6 100644
--- a/drivers/net/usb/Kconfig
+++ b/drivers/net/usb/Kconfig
@@ -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