Commit fbb8c745 authored by Bjørn Mork's avatar Bjørn Mork Committed by Greg Kroah-Hartman

USB: storage: in-kernel modeswitching is deprecated

Acked-by: default avatarMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a0f11ace
...@@ -53,6 +53,14 @@ ...@@ -53,6 +53,14 @@
* as opposed to devices that do something strangely or wrongly. * as opposed to devices that do something strangely or wrongly.
*/ */
/* In-kernel mode switching is deprecated. Do not add new devices to
* this list for the sole purpose of switching them to a different
* mode. Existing userspace solutions are superior.
*
* New mode switching devices should instead be added to the database
* maintained at http://www.draisberghof.de/usb_modeswitch/
*/
#if !defined(CONFIG_USB_STORAGE_SDDR09) && \ #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
!defined(CONFIG_USB_STORAGE_SDDR09_MODULE) !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
#define NO_SDDR09 #define NO_SDDR09
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment