USB: storage: in-kernel modeswitching is deprecated

Acked-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bjørn Mork 2013-03-05 09:58:42 +01:00 committed by Greg Kroah-Hartman
parent a0f11aceee
commit fbb8c745ec

View file

@ -53,6 +53,14 @@
* 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) && \
!defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
#define NO_SDDR09