aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esp_scsi.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-11 11:35:20 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:56:19 -0400
commit76246808248ac4c94ec3b57e37f35f8e05dfa0b3 (patch)
treeb425833cdcc73d7e25519ec8e09932ea64141718 /drivers/scsi/esp_scsi.c
parent3892d88ae6fb186ff6205f764213b556d70800b0 (diff)
[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 <bunk@kernel.org> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/esp_scsi.c')
-rw-r--r--drivers/scsi/esp_scsi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c
index 77b06a983fa7..f346fd1953f4 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)
2138} 2138}
2139EXPORT_SYMBOL(scsi_esp_intr); 2139EXPORT_SYMBOL(scsi_esp_intr);
2140 2140
2141static void __devinit esp_get_revision(struct esp *esp) 2141static void esp_get_revision(struct esp *esp)
2142{ 2142{
2143 u8 val; 2143 u8 val;
2144 2144
@@ -2187,7 +2187,7 @@ static void __devinit esp_get_revision(struct esp *esp)
2187 } 2187 }
2188} 2188}
2189 2189
2190static void __devinit esp_init_swstate(struct esp *esp) 2190static void esp_init_swstate(struct esp *esp)
2191{ 2191{
2192 int i; 2192 int i;
2193 2193
@@ -2233,7 +2233,7 @@ static void esp_bootup_reset(struct esp *esp)
2233 esp_read8(ESP_INTRPT); 2233 esp_read8(ESP_INTRPT);
2234} 2234}
2235 2235
2236static void __devinit esp_set_clock_params(struct esp *esp) 2236static void esp_set_clock_params(struct esp *esp)
2237{ 2237{
2238 int fmhz; 2238 int fmhz;
2239 u8 ccf; 2239 u8 ccf;
@@ -2306,7 +2306,7 @@ static const char *esp_chip_names[] = {
2306 2306
2307static struct scsi_transport_template *esp_transport_template; 2307static struct scsi_transport_template *esp_transport_template;
2308 2308
2309int __devinit scsi_esp_register(struct esp *esp, struct device *dev) 2309int scsi_esp_register(struct esp *esp, struct device *dev)
2310{ 2310{
2311 static int instance; 2311 static int instance;
2312 int err; 2312 int err;
@@ -2345,7 +2345,7 @@ int __devinit scsi_esp_register(struct esp *esp, struct device *dev)
2345} 2345}
2346EXPORT_SYMBOL(scsi_esp_register); 2346EXPORT_SYMBOL(scsi_esp_register);
2347 2347
2348void __devexit scsi_esp_unregister(struct esp *esp) 2348void scsi_esp_unregister(struct esp *esp)
2349{ 2349{
2350 scsi_remove_host(esp->host); 2350 scsi_remove_host(esp->host);
2351} 2351}