Commit d4f4d3ac authored by Dave Jones's avatar Dave Jones

[PATCH] more devexit fixes

parent 289fe4bc
...@@ -253,7 +253,7 @@ static int __init tms_pci_init (void) ...@@ -253,7 +253,7 @@ static int __init tms_pci_init (void)
return 0; return 0;
} }
static void __exit tms_pci_rmmod (void) static void __devexit tms_pci_rmmod (void)
{ {
pci_unregister_driver (&tms_pci_driver); pci_unregister_driver (&tms_pci_driver);
} }
......
...@@ -146,7 +146,7 @@ static struct pci_driver tdfxfb_driver = { ...@@ -146,7 +146,7 @@ static struct pci_driver tdfxfb_driver = {
.name = "tdfxfb", .name = "tdfxfb",
.id_table = tdfxfb_id_table, .id_table = tdfxfb_id_table,
.probe = tdfxfb_probe, .probe = tdfxfb_probe,
.remove = tdfxfb_remove, .remove = __devexit_p(tdfxfb_remove),
}; };
MODULE_DEVICE_TABLE(pci, tdfxfb_id_table); MODULE_DEVICE_TABLE(pci, tdfxfb_id_table);
......
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