From: Mike Frysinger Date: Thu, 18 Jun 2009 23:49:14 +0000 (-0700) Subject: istallion: add missing __devexit marking X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b9ce5a20138590bd9556e34a0408164fadf4163;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git istallion: add missing __devexit marking The remove member of the pci_driver stli_pcidriver uses __devexit_p(), so the remove function itself should be marked with __devexit. Even more so considering the probe function is marked with __devinit. Signed-off-by: Mike Frysinger Acked-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index e18800c400b1..0c999f5bb3db 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c @@ -3785,7 +3785,7 @@ err: return retval; } -static void stli_pciremove(struct pci_dev *pdev) +static void __devexit stli_pciremove(struct pci_dev *pdev) { struct stlibrd *brdp = pci_get_drvdata(pdev);