Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 097a9ea0 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

usb: make "nousb" a clear module parameter



It shouldn't matter how usbcore is compiled. As it is a subsystem,
the correct way to use nousb should be usbcore.nousb

Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 40d58148
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -49,12 +49,7 @@ const char *usbcore_name = "usbcore";

static bool nousb;	/* Disable USB when built into kernel image */

/* To disable USB, kernel command line is 'nousb' not 'usbcore.nousb' */
#ifdef MODULE
module_param(nousb, bool, 0444);
#else
core_param(nousb, nousb, bool, 0444);
#endif

/*
 * for external read access to <nousb>