diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-04 13:35:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:55 -0700 |
commit | 24f5063d3f1125a75cadacab4609a358c15a96f3 (patch) | |
tree | 894942d3822b10c2140af7123599835911b7e6fd /drivers | |
parent | afcf462a1fd78cc372aefd9fe352e2dc2f237937 (diff) |
Staging: altpciechdma: 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/altpciechdma/altpciechdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/altpciechdma/altpciechdma.c b/drivers/staging/altpciechdma/altpciechdma.c index f5004d3cef63..ac9728e067d4 100644 --- a/drivers/staging/altpciechdma/altpciechdma.c +++ b/drivers/staging/altpciechdma/altpciechdma.c @@ -1143,7 +1143,7 @@ static struct pci_driver pci_driver = { .name = DRV_NAME, .id_table = ids, .probe = probe, - .remove = remove, + .remove = __devexit_p(remove), /* resume, suspend are optional */ }; |