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>
This commit is contained in:
parent
afcf462a1f
commit
24f5063d3f
|
@ -1143,7 +1143,7 @@ static struct pci_driver pci_driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.id_table = ids,
|
.id_table = ids,
|
||||||
.probe = probe,
|
.probe = probe,
|
||||||
.remove = remove,
|
.remove = __devexit_p(remove),
|
||||||
/* resume, suspend are optional */
|
/* resume, suspend are optional */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue