Commit 73614e26 authored by Ganesh Varadarajan's avatar Ganesh Varadarajan Committed by Greg Kroah-Hartman

[PATCH] uninitialized spinlock in ipaq.c

this fixes an uninitialzed spinlock in ipaq.c. the driver should work
on smp machines now.
parent 70176d1b
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
/* /*
* Version Information * Version Information
*/ */
#define DRIVER_VERSION "v0.2" #define DRIVER_VERSION "v0.3"
#define DRIVER_AUTHOR "Ganesh Varadarajan <ganesh@veritas.com>" #define DRIVER_AUTHOR "Ganesh Varadarajan <ganesh@veritas.com>"
#define DRIVER_DESC "USB Compaq iPAQ, HP Jornada, Casio EM500 driver" #define DRIVER_DESC "USB Compaq iPAQ, HP Jornada, Casio EM500 driver"
...@@ -521,6 +521,7 @@ static void ipaq_shutdown(struct usb_serial *serial) ...@@ -521,6 +521,7 @@ static void ipaq_shutdown(struct usb_serial *serial)
static int __init ipaq_init(void) static int __init ipaq_init(void)
{ {
spin_lock_init(&write_list_lock);
usb_serial_register(&ipaq_device); usb_serial_register(&ipaq_device);
usb_register(&ipaq_driver); usb_register(&ipaq_driver);
info(DRIVER_DESC " " DRIVER_VERSION); info(DRIVER_DESC " " DRIVER_VERSION);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment