From: Jean Delvare Date: Thu, 4 Jun 2009 11:35:15 +0000 (+0200) Subject: Staging: altpciechdma: Add missing __devexit_p() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24f5063d3f1125a75cadacab4609a358c15a96f3;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 */ };