Staging: slicoss: Add missing __devexit_p()

The remove function uses __devexit, so the .remove assignment needs
__devexit_p() to fix a build error with hotplug disabled.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Jean Delvare 2009-06-04 13:35:15 +02:00 committed by Greg Kroah-Hartman
parent 602bd07313
commit b0f434a7e9
1 changed files with 1 additions and 1 deletions

View File

@ -4049,7 +4049,7 @@ static struct pci_driver slic_driver = {
.name = DRV_NAME,
.id_table = slic_pci_tbl,
.probe = slic_entry_probe,
.remove = slic_entry_remove,
.remove = __devexit_p(slic_entry_remove),
};
static int __init slic_module_init(void)