fix .text.exit error in tdfxfb.c

fix .text.exit error in tdfxfb.c

Post by Burton Samogra » Mon, 23 Sep 2002 05:40:05

> Hi James,

> Burton Samograd reported a .text.exit error at the final linking in
> 2.5.37. The problem is that tdfxfb_remove is __devexit but the pointer to
> the function didn't use __devexit_p. The following patch fixes it:

Thanks james, that fixed the lets see if it runs :)


< 1K Download

1. fix ad1889.c .text.exit error

In 2,4,21-pre6 the function ad1889_remove in drivers/sound/ad1889.c is
__devexit but the pointer to it doesn't use __devexit_p resulting in a
.text.exit error if !CONFIG_HOTPLUG.

The following patch is needed:

--- linux-2.4.21-pre6-full-nohotplug/drivers/sound/ad1889.c.old 2003-03-27 22:40:12.000000000 +0100

        name:           DEVNAME,
        id_table:       ad1889_id_tbl,
        probe:          ad1889_probe,
-       remove:         ad1889_remove,
+       remove:         __devexit_p(ad1889_remove),

 static int __init ad1889_init_module(void)

I've tested the compilation with 2.4.21-pre6.

Please apply


       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at
Please read the FAQ at

2. Resolution keeps changing after a reboot.

3. fix ips.c .text.exit error

4. FS/FT: R6000/N40 IBM Laptop

5. fix .text.exit error in drivers/scsi/ips.c

6. E-Commerce questions

7. fix .text.exit error in dmfe.c

8. 3.0 install crash scsi error

9. fix nsp32.c .text.exit error

10. fix .text.exit errors in orinoco_{pci,plx}.c

11. fix .text.exit error in drivers/net/r8169.c

12. fix .text.exit compile error in sstfb.c

13. fix .text.exit error in orinoco_plx.c