Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133517
b: refs/heads/master
c: e4abe66
h: refs/heads/master
i:
  133515: edbc8bc
v: v3
  • Loading branch information
Dave Young authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent 59312f8 commit 33e44b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0626808f7a6181c1c750d261da9a7a845c29e13
refs/heads/master: e4abe6658aa17a5d7e7321dfda807d287255511b
3 changes: 3 additions & 0 deletions trunk/drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,9 @@ int usb_serial_register(struct usb_serial_driver *driver)
/* must be called with BKL held */
int retval;

if (usb_disabled())
return -ENODEV;

fixup_generic(driver);

if (!driver->description)
Expand Down

0 comments on commit 33e44b2

Please sign in to comment.