summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usb-skeleton.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2005-12-20 14:15:04 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 13:51:44 -0800
commitaafbf24a1129480157af7ee780eddcea9b76ee5c (patch)
tree218cbb17aeff69689121f294ac7ef513267b158a /drivers/usb/usb-skeleton.c
parent5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf (diff)
downloadtalos-obmc-linux-aafbf24a1129480157af7ee780eddcea9b76ee5c.tar.gz
talos-obmc-linux-aafbf24a1129480157af7ee780eddcea9b76ee5c.zip
[PATCH] USB: replace __setup("nousb") with __module_param_call
Fedora users complain that passing "nousbstorage" to the installer causes the rest of the USB support to disappear. The installer uses kernel command line as a way to pass options through Syslinux. The problem stems from the use of strncmp() in obsolete_checksetup(). I used __module_param_call() instead of module_param because I wanted to preserve the old syntax in grub.conf, and it's the only macro which allows to remove the prefix. The fix is tested to accept the option "nousb" correctly now. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud