aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-04 07:35:15 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 14:00:55 -0400
commit24f5063d3f1125a75cadacab4609a358c15a96f3 (patch)
tree894942d3822b10c2140af7123599835911b7e6fd /drivers/staging
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/staging')
-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 = {
1143 .name = DRV_NAME, 1143 .name = DRV_NAME,
1144 .id_table = ids, 1144 .id_table = ids,
1145 .probe = probe, 1145 .probe = probe,
1146 .remove = remove, 1146 .remove = __devexit_p(remove),
1147 /* resume, suspend are optional */ 1147 /* resume, suspend are optional */
1148}; 1148};
1149 1149