From: Randy Dunlap Date: Wed, 16 Sep 2015 18:32:41 +0000 (-0700) Subject: net: fix cdc-phonet.c dependency and build error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=37d2dbcdcca88e392009d7cbe8617d5af0ebcb32;p=linux-beck.git 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 Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller --- 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