> > > drivers/built-in.o: In function `sa1111_ohci_init':
> > > drivers/built-in.o(.text.init+0x3bb4): relocation truncated
> > > to fit: R_ARM_PC24 text.exit
> > > drivers/built-in.o(.text.init+0x3c08): relocation truncated 
> > > to fit: R_ARM_PC24 text.exit
> > 
> 
> Looks like __init code calling __exit or __devexit code when 
> built into a module.

Silly me.  This is in the old driver.  Three points:

1. Use the new driver (ohci-hcd).

2. Don't use the old driver.  :-)

3. Here's the patch:

--- linux-2.5.24-rmk1-ch2/drivers/usb/host/usb-ohci-sa1111.c.orig
Wed Jul 17 18:29:21 2002
+++ linux-2.5.24-rmk1-ch2/drivers/usb/host/usb-ohci-sa1111.c    Thu Jul
18 10:16:09 2002
@@ -69,7 +69,7 @@
        USB_RESET = usb_rst;
 }
 
-static void __exit sa1111_ohci_unconfigure(void)
+static void sa1111_ohci_unconfigure(void)
 {
        printk(KERN_DEBUG __FILE__ 
               ": stopping SA-1111 OHCI USB Controller\n");

-ch




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to