ChangeSet 1.1244, 2003/06/18 16:54:31-07:00, [EMAIL PROTECTED]

[PATCH] USB: fixes kernel_thread


 drivers/usb/hub.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/usb/hub.c b/drivers/usb/hub.c
--- a/drivers/usb/hub.c Wed Jun 18 17:35:18 2003
+++ b/drivers/usb/hub.c Wed Jun 18 17:35:18 2003
@@ -38,7 +38,7 @@
 static LIST_HEAD(hub_list);            /* List containing all of the hubs (for 
cleanup) */
 
 static DECLARE_WAIT_QUEUE_HEAD(khubd_wait);
-static int khubd_pid = 0;                      /* PID of khubd */
+static pid_t khubd_pid = 0;                    /* PID of khubd */
 static DECLARE_COMPLETION(khubd_exited);
 
 #ifdef DEBUG
@@ -949,7 +949,7 @@
  */
 int usb_hub_init(void)
 {
-       int pid;
+       pid_t pid;
 
        if (usb_register(&hub_driver) < 0) {
                err("Unable to register USB hub driver");



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to