mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
There is no reason only the usbg transport would not be its own module,
so make it tristate.
In particular, this fixes a couple of issues the current bool had:
- trans_usbg was apparently not compiled at all when NET_9P=m
- the workaround added in commit 2193ede180 ("net/9p/usbg: fix
CONFIG_USB_GADGET dependency") became redundant because a tristate item
cannot be built-in when its dependency is a module, so we can depend on
USB_GADGET "normally" again.
Cc: Michael Grzeschik <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Message-ID: <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>