提交 0b9ce5a2 编写于 作者: M Mike Frysinger 提交者: Linus Torvalds

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: NMike Frysinger <vapier@gentoo.org>
Acked-by: NGreg Ungerer <gerg@uclinux.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 4390b9e0
...@@ -3785,7 +3785,7 @@ static int __devinit stli_pciprobe(struct pci_dev *pdev, ...@@ -3785,7 +3785,7 @@ static int __devinit stli_pciprobe(struct pci_dev *pdev,
return retval; 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); struct stlibrd *brdp = pci_get_drvdata(pdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册