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

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)