diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-05-16 09:31:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-16 05:29:20 -0700 |
commit | 3a2300385f601fbd8aed67555a1a3fef5b3d4d10 (patch) | |
tree | 0f025e47ca7bcccd85bbaed416a73cc38b02d03d /drivers/usb | |
parent | 5eaee54b1c52a83dc74445792cf49900a8050da8 (diff) | |
download | linux-stable-3a2300385f601fbd8aed67555a1a3fef5b3d4d10.tar.gz linux-stable-3a2300385f601fbd8aed67555a1a3fef5b3d4d10.tar.bz2 linux-stable-3a2300385f601fbd8aed67555a1a3fef5b3d4d10.zip |
USB: serial: generic driver is only for testing
Make some noise during probe to make sure the users
are aware of the intended purpose of this driver.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 130a57351c69..846506f05e12 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c @@ -845,6 +845,8 @@ static int usb_serial_probe(struct usb_interface *interface, module_put(type->driver.owner); return -EIO; } + dev_info(&interface->dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n"); + dev_info(&interface->dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n"); } #endif if (!num_ports) { |