summaryrefslogtreecommitdiffstats
path: root/drivers/char/istallion.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-19 01:49:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-20 01:46:06 +0200
commit0b9ce5a20138590bd9556e34a0408164fadf4163 (patch)
treefa9a32b6a7b26948d6b632fdedf33bd3d5aed5ae /drivers/char/istallion.c
parentdtlk: off by one in {read,write}_tts() (diff)
downloadlinux-0b9ce5a20138590bd9556e34a0408164fadf4163.tar.xz
linux-0b9ce5a20138590bd9556e34a0408164fadf4163.zip
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 <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>
Diffstat (limited to 'drivers/char/istallion.c')
-rw-r--r--drivers/char/istallion.c2
1 files changed, 1 insertions, 1 deletions
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);