mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 09:20:17 +00:00
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,
|
||||
.id_table = ids,
|
||||
.probe = probe,
|
||||
.remove = remove,
|
||||
.remove = __devexit_p(remove),
|
||||
/* resume, suspend are optional */
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user