diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-04 07:35:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 14:00:55 -0400 |
commit | b0f434a7e90395b588a38ae706c6c63a23d497e4 (patch) | |
tree | ed9e22a276e38ded625caf4b41bcfbea0dc89b32 | |
parent | 602bd07313f6b337b7ec0297855a5d4d1743c6f2 (diff) |
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>
-rw-r--r-- | drivers/staging/slicoss/slicoss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 6f5d0bff4358..099912685c98 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c | |||
@@ -4049,7 +4049,7 @@ static struct pci_driver slic_driver = { | |||
4049 | .name = DRV_NAME, | 4049 | .name = DRV_NAME, |
4050 | .id_table = slic_pci_tbl, | 4050 | .id_table = slic_pci_tbl, |
4051 | .probe = slic_entry_probe, | 4051 | .probe = slic_entry_probe, |
4052 | .remove = slic_entry_remove, | 4052 | .remove = __devexit_p(slic_entry_remove), |
4053 | }; | 4053 | }; |
4054 | 4054 | ||
4055 | static int __init slic_module_init(void) | 4055 | static int __init slic_module_init(void) |