Skip to content

Commit

Permalink
net: fix cdc-phonet.c dependency and build error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Sep 16, 2015
1 parent b84ee0d commit 37d2dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37d2dbc

Please sign in to comment.