summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-04 13:35:15 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:55 -0700
commit24f5063d3f1125a75cadacab4609a358c15a96f3 (patch)
tree894942d3822b10c2140af7123599835911b7e6fd /drivers
parentafcf462a1fd78cc372aefd9fe352e2dc2f237937 (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.c2
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 */
};