This reverts commit a5bf3d891a.
David Brownell notes that this causes a regression visible in the
drivers/usb/gadget Kconfig file:
"That Kconfig hasn't changed (other than adding new drivers), and it's
worked that way for several years now ... so the issue seems to be
changes in menuconfig/kconfig/etc semantics.
The issue is that when USB_GADGET=m, it's no longer possible to
configure peripheral controller drivers as modules ... the
controller drivers can now only be configured for static linkage.
It should be making a choice of one of the controller drivers which
could work on the target system, and allow that driver to be linked
either as a module (ok iff USB_GADGET=m) or statically."
Reverting this commit resolves the problem, and also fixes a second
problem that David noticed: various dependent options couldn't be enabled.
Tested-and-reported-by: David Brownell <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Jan Beulich <[email protected]>,
Cc: Andrew Morton <[email protected]>,
Cc: Sam Ravnborg <[email protected]>,
Cc: Roman Zippel <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>