summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2015-09-16 11:32:41 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-16 11:51:19 -0700
commit37d2dbcdcca88e392009d7cbe8617d5af0ebcb32 (patch)
tree270a693aa7b2c8e7333b75599de5f8fb29e6996a /drivers
parentb84ee0d7f375ed7840c7c110d46eac24cf94b2a2 (diff)
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')
-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