summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2015-12-03 15:03:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-04 08:29:54 -0800
commit097a9ea0e48fa33159ad47d1dc9ef3b215bfc090 (patch)
tree745ab378d8dc151621c6fb808ed0f36a85014ef0 /drivers
parent40d581489adbb44a2d1005867d7a7695d61110e6 (diff)
downloadop-kernel-dev-097a9ea0e48fa33159ad47d1dc9ef3b215bfc090.zip
op-kernel-dev-097a9ea0e48fa33159ad47d1dc9ef3b215bfc090.tar.gz
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: Oliver Neukum <oneukum@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/core/usb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index f8bbd0b..77e4c9b 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -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>
OpenPOWER on IntegriCloud