public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] istallion: add missing __devexit marking
@ 2009-05-18  7:47 Mike Frysinger
  2009-05-19  5:35 ` Greg Ungerer
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2009-05-18  7:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg Ungerer

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>
CC: Greg Ungerer <gerg@uclinux.org>
---
 drivers/char/istallion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c
index fff19f7..e8392c2 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);
 
-- 
1.6.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-19  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-18  7:47 [PATCH] istallion: add missing __devexit marking Mike Frysinger
2009-05-19  5:35 ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox