ServeRAID driver doesn't compile
Subsystems (3)
PATCH 1/1 ServeRAID driver doesn't compile
In 2.5.26, the ServeRAID driver still doesn't compile correctly, you get these from the vmlinux link operation:
drivers/built-in.o(.data+0xc4f4): undefined reference to local symbols in discarded section .text.exit' drivers/built-in.o(.data+0xc574): undefined reference to local symbols in discarded section .text.exit' drivers/built-in.o(.data+0xc5f4): undefined reference to `local symbols in discarded section .text.exit'
This patch makes them go away and appears to be the correct fix.
Signature · 2 lines
Dave Hansen [email protected]
drivers/scsi/ips.c +3 -3
@@ -326,21 +326,21 @@ name: ips_hot_plug_name, id_table: ips_pci_table, probe: ips_insert_device, - remove: ips_remove_device, + remove: __devexit_p(ips_remove_device), };struct pci_driver ips_pci_driver_5i = { name: ips_hot_plug_name, id_table: ips_pci_table_5i, probe: ips_insert_device, - remove: ips_remove_device, + remove:__devexit_p (ips_remove_device), };struct pci_driver ips_pci_driver_i960 = { name: ips_hot_plug_name, id_table: ips_pci_table_i960, probe: ips_insert_device, - remove: ips_remove_device, + remove:__devexit_p (ips_remove_device), };#endif