Hi David,

here is a patch that fixes an obvious copy/paste error in your
sl811-hcd driver:

--- linux-2.6.10/drivers/usb/host/sl811-hcd.c
+++ linux-2.6.10-karo/drivers/usb/host/sl811-hcd.c
@@ -1768,7 +1768,7 @@
                status = -ENOMEM;
                goto fail;
        }
-       sl811->data_reg = ioremap(data->start, resource_len(addr));
+       sl811->data_reg = ioremap(data->start, resource_len(data));
        if (sl811->data_reg == NULL) {
                status = -ENOMEM;
                goto fail;



Lothar Wassmann


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to