summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2012-05-16 09:31:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-16 05:29:20 -0700
commit3a2300385f601fbd8aed67555a1a3fef5b3d4d10 (patch)
tree0f025e47ca7bcccd85bbaed416a73cc38b02d03d /drivers/usb/serial
parent5eaee54b1c52a83dc74445792cf49900a8050da8 (diff)
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/serial')
-rw-r--r--drivers/usb/serial/usb-serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 130a57351c6..846506f05e1 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) {