istallion: add missing __devexit marking
authorMike Frysinger <[email protected]>
Thu, 18 Jun 2009 23:49:14 +0000 (16:49 -0700)
committerLinus Torvalds <[email protected]>
Fri, 19 Jun 2009 23:46:06 +0000 (16:46 -0700)
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 <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/char/istallion.c

index e18800c400b10b60578b6fb9bb1d86a16dcbfd04..0c999f5bb3db6df69e0062609e9f82d1c0ee8955 100644 (file)
@@ -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);