Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 07/38] move lasi700_driver_remove to .devexit.text

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


u.kleine-koenig at pengutronix

Nov 24, 2009, 1:07 PM

Post #1 of 1 (26 views)
Permalink
[PATCH 07/38] move lasi700_driver_remove to .devexit.text

The function lasi700_driver_remove is used only wrapped by __devexit_p
so define it using __devexit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig [at] pengutronix>
Cc: James E.J. Bottomley <James.Bottomley [at] suse>
Cc: Yang Hongyang <yanghy [at] cn>
Cc: Kyle McMartin <kyle [at] mcmartin>
Cc: Kay Sievers <kay.sievers [at] vrfy>
Cc: James Bottomley <James.Bottomley [at] HansenPartnership>
Cc: linux-scsi [at] vger
Cc: linux-kernel [at] vger
Cc: Andrew Morton <akpm [at] linux-foundation>
Cc: Helge Deller <deller [at] gmx>
---
drivers/scsi/lasi700.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/lasi700.c b/drivers/scsi/lasi700.c
index b3d3131..a192914 100644
--- a/drivers/scsi/lasi700.c
+++ b/drivers/scsi/lasi700.c
@@ -147,7 +147,7 @@ lasi700_probe(struct parisc_device *dev)
return -ENODEV;
}

-static int __exit
+static int __devexit
lasi700_driver_remove(struct parisc_device *dev)
{
struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
--
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.