Commit a970ff45 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

Staging: sxg: 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: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent eb48d1f8
...@@ -4516,7 +4516,7 @@ static struct pci_driver sxg_driver = { ...@@ -4516,7 +4516,7 @@ static struct pci_driver sxg_driver = {
.name = sxg_driver_name, .name = sxg_driver_name,
.id_table = sxg_pci_tbl, .id_table = sxg_pci_tbl,
.probe = sxg_entry_probe, .probe = sxg_entry_probe,
.remove = sxg_entry_remove, .remove = __devexit_p(sxg_entry_remove),
#if SXG_POWER_MANAGEMENT_ENABLED #if SXG_POWER_MANAGEMENT_ENABLED
.suspend = sxgpm_suspend, .suspend = sxgpm_suspend,
.resume = sxgpm_resume, .resume = sxgpm_resume,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment