f150fa1afb
usbmon can only be built as a module if usbcore is a module too. Trivial changes to the relevant Kconfig and Makefile (and a few trivial changes elsewhere) allow usbmon to be built as a module even if usbcore is builtin. This is verified to work in all 9 permutations (3 correctly prohibited by Kconfig, 6 build a suitable result). Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 lines
390 B
Text
15 lines
390 B
Text
#
|
|
# USB Monitor configuration
|
|
#
|
|
|
|
config USB_MON
|
|
tristate "USB Monitor"
|
|
depends on USB
|
|
default y if USB=y
|
|
default m if USB=m
|
|
help
|
|
If you select this option, a component which captures the USB traffic
|
|
between peripheral-specific drivers and HC drivers will be built.
|
|
For more information, see <file:Documentation/usb/usbmon.txt>.
|
|
|
|
If unsure, say Y (if allowed), otherwise M.
|