istallion: add missing __devexit marking
authorMike Frysinger <vapier@gentoo.org>
Thu, 18 Jun 2009 23:49:14 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <vapier@gentoo.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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);