Commit:     76246808248ac4c94ec3b57e37f35f8e05dfa0b3
Parent:     3892d88ae6fb186ff6205f764213b556d70800b0
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 11 17:35:20 2007 +0200
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:56:19 2007 -0400

    [SCSI] esp_scsi: remove __dev{init,exit}
    Since scsi_esp_{,un}register() are EXPORT_SYMBOL'ed, these functions
    (and the functions they use) can't be __dev{init,exit}.
    Based on a bug report by Rob Landley.
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Acked-by: David S. Miller <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/scsi/esp_scsi.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c
index 77b06a9..f346fd1 100644
--- a/drivers/scsi/esp_scsi.c
+++ b/drivers/scsi/esp_scsi.c
@@ -2138,7 +2138,7 @@ irqreturn_t scsi_esp_intr(int irq, void *dev_id)
-static void __devinit esp_get_revision(struct esp *esp)
+static void esp_get_revision(struct esp *esp)
        u8 val;
@@ -2187,7 +2187,7 @@ static void __devinit esp_get_revision(struct esp *esp)
-static void __devinit esp_init_swstate(struct esp *esp)
+static void esp_init_swstate(struct esp *esp)
        int i;
@@ -2233,7 +2233,7 @@ static void esp_bootup_reset(struct esp *esp)
-static void __devinit esp_set_clock_params(struct esp *esp)
+static void esp_set_clock_params(struct esp *esp)
        int fmhz;
        u8 ccf;
@@ -2306,7 +2306,7 @@ static const char *esp_chip_names[] = {
 static struct scsi_transport_template *esp_transport_template;
-int __devinit scsi_esp_register(struct esp *esp, struct device *dev)
+int scsi_esp_register(struct esp *esp, struct device *dev)
        static int instance;
        int err;
@@ -2345,7 +2345,7 @@ int __devinit scsi_esp_register(struct esp *esp, struct 
device *dev)
-void __devexit scsi_esp_unregister(struct esp *esp)
+void scsi_esp_unregister(struct esp *esp)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to