Skip to content

Commit 37d2dbc

Browse files
rddunlapdavem330
authored andcommitted
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>
1 parent b84ee0d commit 37d2dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/usb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ config USB_NET_INT51X1
541541

542542
config USB_CDC_PHONET
543543
tristate "CDC Phonet support"
544-
depends on PHONET
544+
depends on PHONET && USB_USBNET
545545
help
546546
Choose this option to support the Phonet interface to a Nokia
547547
cellular modem, as found on most Nokia handsets with the

0 commit comments

Comments
 (0)