[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1259096853-18909-19-git-send-email-u.kleine-koenig@pengutronix.de>
Date: Tue, 24 Nov 2009 22:07:14 +0100
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org,
"James E.J. Bottomley" <James.Bottomley@...e.de>,
Yang Hongyang <yanghy@...fujitsu.com>,
Kay Sievers <kay.sievers@...y.org>,
James Bottomley <James.Bottomley@...senPartnership.com>,
Greg Kroah-Hartman <gregkh@...e.de>, linux-scsi@...r.kernel.org
Subject: [PATCH 19/38] move snirm710_driver_remove to .devexit.text
The function snirm710_driver_remove is used only wrapped by __devexit_p
so define it using __devexit.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Cc: James E.J. Bottomley <James.Bottomley@...e.de>
Cc: Yang Hongyang <yanghy@...fujitsu.com>
Cc: Kay Sievers <kay.sievers@...y.org>
Cc: James Bottomley <James.Bottomley@...senPartnership.com>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
Cc: linux-scsi@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Cc: Andrew Morton <akpm@...ux-foundation.org>
---
drivers/scsi/sni_53c710.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c
index 37b3359..c941a00 100644
--- a/drivers/scsi/sni_53c710.c
+++ b/drivers/scsi/sni_53c710.c
@@ -116,7 +116,7 @@ static int __init snirm710_probe(struct platform_device *dev)
return -ENODEV;
}
-static int __exit snirm710_driver_remove(struct platform_device *dev)
+static int __devexit snirm710_driver_remove(struct platform_device *dev)
{
struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
struct NCR_700_Host_Parameters *hostdata =
--
1.6.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists