Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0f434a7 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman
Browse files

Staging: slicoss: 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 602bd073
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4049,7 +4049,7 @@ static struct pci_driver slic_driver = {
	.name = DRV_NAME,
	.id_table = slic_pci_tbl,
	.probe = slic_entry_probe,
	.remove = slic_entry_remove,
	.remove = __devexit_p(slic_entry_remove),
};

static int __init slic_module_init(void)