Re: [BK PATCH] USB changes for 2.5.39

From: Greg KH (greg@kroah.com)
Date: Mon Sep 30 2002 - 19:35:13 EST


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.660.1.5 -> 1.660.1.6
# drivers/usb/core/usb.c 1.89 -> 1.90
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/09/30 greg@kroah.com 1.660.1.6
# USB: allow /sbin/hotplug to be called for the main USB device.
# --------------------------------------------
#
diff -Nru a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
--- a/drivers/usb/core/usb.c Mon Sep 30 17:25:17 2002
+++ b/drivers/usb/core/usb.c Mon Sep 30 17:25:17 2002
@@ -525,9 +525,8 @@
         if (!dev)
                 return -ENODEV;
 
- /* check for generic driver, we do not call do hotplug calls for it */
         if (dev->driver == &usb_generic_driver)
- return -ENODEV;
+ return 0;
 
         intf = to_usb_interface(dev);
         if (!intf)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:48 EST