mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
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>
This commit is contained in:
parent
4390b9e0cf
commit
0b9ce5a201
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user