From: Pete Zaitcev Date: Tue, 20 Dec 2005 22:15:04 +0000 (-0800) Subject: [PATCH] USB: replace __setup("nousb") with __module_param_call X-Git-Tag: v2.6.16-rc1~474^2~22^2~10^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aafbf24a1129480157af7ee780eddcea9b76ee5c;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed