summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2024-11-22 17:43:02 +0300
committerDominique Martinet <asmadeus@codewreck.org>2024-11-22 17:48:14 +0300
commite0260d530b73ee969ae971d14daa02376dcfc93f (patch)
tree2bc63ae4448bd7891d6767d94ad97e3b276d0ee8 /rust/helpers/build_bug.c
parente43c608f40c065b30964f0a806348062991b802d (diff)
downloadlinux-e0260d530b73ee969ae971d14daa02376dcfc93f.tar.xz
net/9p/usbg: allow building as standalone module
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 2193ede180dd ("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 <m.grzeschik@pengutronix.de> Link: https://lkml.kernel.org/r/ZzhWRPDNwu225NWz@codewreck.org Message-ID: <20241122144754.1231919-1-asmadeus@codewreck.org> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions