patch-2.3.1 linux/drivers/usb/hub.c
Next file: linux/drivers/usb/mouse.c
Previous file: linux/drivers/usb/cpia.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 11 23:09:42 1999
- Orig file:
v2.3.0/linux/drivers/usb/hub.c
- Orig date:
Fri Apr 30 08:20:01 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/usb/hub.c linux/drivers/usb/hub.c
@@ -24,7 +24,7 @@
extern struct usb_operations uhci_device_operations;
/* Wakes up khubd */
-static struct wait_queue *usb_hub_wait = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(usb_hub_wait);
static spinlock_t hub_event_lock = SPIN_LOCK_UNLOCKED;
/* List of hubs needing servicing */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)