Skip to content

Commit

Permalink
USB: serial: generic driver is only for testing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjørn Mork authored and Greg Kroah-Hartman committed May 16, 2012
1 parent 5eaee54 commit 3a23003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3a23003

Please sign in to comment.