Commit fee4cf49 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: fix for multiple definition of `usb_gadget_get_string'

parent 049b6d5d
...@@ -35,9 +35,8 @@ menuconfig USB_GADGET ...@@ -35,9 +35,8 @@ menuconfig USB_GADGET
# #
# USB Peripheral Controller Support # USB Peripheral Controller Support
# #
# FIXME convert to tristate choice when "choice" behaves as specified choice
# prompt "USB Peripheral Controller Support"
comment "USB Peripheral Controller Support"
depends on USB_GADGET depends on USB_GADGET
config USB_NET2280 config USB_NET2280
...@@ -55,19 +54,17 @@ config USB_NET2280 ...@@ -55,19 +54,17 @@ config USB_NET2280
dynamically linked module called "net2280" and force all dynamically linked module called "net2280" and force all
gadget drivers to also be dynamically linked. gadget drivers to also be dynamically linked.
endchoice
# #
# USB Gadget Drivers # USB Gadget Drivers
# #
# FIXME only one of these may be statically linked; choice/endchoice. choice
# prompt "USB Gadget Drivers"
comment "USB Gadget Drivers"
depends on USB_GADGET depends on USB_GADGET
default USB_ETH
# FIXME want better dependency/config approach for drivers. with only # FIXME want a cleaner dependency/config approach for drivers.
# two knobs to tweak (driver y/m/n, and a hardware symbol) there's no
# good excuse for Kconfig to cause such trouble here. there are clear
# bugs (coredumps, multiple choices enabled, and more) in its (boolean)
# "choice" logic too ...
config USB_ZERO config USB_ZERO
tristate "Gadget Zero (DEVELOPMENT)" tristate "Gadget Zero (DEVELOPMENT)"
...@@ -150,4 +147,6 @@ config USB_ETH_SA1100 ...@@ -150,4 +147,6 @@ config USB_ETH_SA1100
depends on USB_ETH && USB_SA1100 depends on USB_ETH && USB_SA1100
default y default y
endchoice
# endmenuconfig # endmenuconfig
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment