changeset 231:8e98d6f19013

Patch to fix sparc build which I hope goes into 2.6.23.2.
author Rob Landley <rob@landley.net>
date Thu, 18 Oct 2007 03:20:00 -0500
parents 61cb0fa4844f
children fdb6ddd4c3b7
files sources/patches/linux-2.6.23-sparcfix.patch
diffstat 1 files changed, 51 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/linux-2.6.23-sparcfix.patch	Thu Oct 18 03:20:00 2007 -0500
@@ -0,0 +1,51 @@
+From bunk@kernel.org Thu Oct 11 10:35:20 2007
+--- linux-2.6.23/drivers/scsi/esp_scsi.c.old	2007-10-11 17:29:50.000000000 +0200
++++ linux-2.6.23/drivers/scsi/esp_scsi.c	2007-10-11 17:31:25.000000000 +0200
+@@ -2138,7 +2138,7 @@
+ }
+ EXPORT_SYMBOL(scsi_esp_intr);
+ 
+-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_init_swstate(struct esp *esp)
++static void esp_init_swstate(struct esp *esp)
+ {
+ 	int i;
+ 
+@@ -2233,7 +2233,7 @@
+ 	esp_read8(ESP_INTRPT);
+ }
+ 
+-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 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;
+@@ -2346,7 +2346,7 @@
+ }
+ EXPORT_SYMBOL(scsi_esp_register);
+ 
+-void __devexit scsi_esp_unregister(struct esp *esp)
++void scsi_esp_unregister(struct esp *esp)
+ {
+ 	scsi_remove_host(esp->host);
+ }
+
+
+