Skip to content

Commit

Permalink
istallion: add missing __devexit marking
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vapier authored and torvalds committed Jun 19, 2009
1 parent 4390b9e commit 0b9ce5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/istallion.c
Original file line number Diff line number Diff line change
Expand Up @@ -3785,7 +3785,7 @@ static int __devinit stli_pciprobe(struct pci_dev *pdev,
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);

Expand Down

0 comments on commit 0b9ce5a

Please sign in to comment.