From: Randy Dunlap <rdun...@infradead.org>

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...@intel.com>
Signed-off-by: Randy Dunlap <rdun...@infradead.org>
---
 drivers/net/usb/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20150916.orig/drivers/net/usb/Kconfig
+++ linux-next-20150916/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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to