fix mips linking failure on bad section (#6635)
authorFlorian Fainelli <florian@openwrt.org>
Fri, 5 Feb 2010 20:50:13 +0000 (20:50 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 5 Feb 2010 20:50:13 +0000 (20:50 +0000)
SVN-Revision: 19533

target/linux/generic-2.6/patches-2.6.32/270-scci_sd_section_fix.patch [new file with mode: 0644]

diff --git a/target/linux/generic-2.6/patches-2.6.32/270-scci_sd_section_fix.patch b/target/linux/generic-2.6/patches-2.6.32/270-scci_sd_section_fix.patch
new file mode 100644 (file)
index 0000000..2ca7e48
--- /dev/null
@@ -0,0 +1,13 @@
+Index: linux-2.6.32.7/drivers/scsi/sd.c
+===================================================================
+--- linux-2.6.32.7.orig/drivers/scsi/sd.c      2010-02-05 21:19:44.000000000 +0100
++++ linux-2.6.32.7/drivers/scsi/sd.c   2010-02-05 21:19:52.000000000 +0100
+@@ -2394,7 +2394,7 @@
+  *
+  *    Note: this function unregisters this driver from the scsi mid-level.
+  **/
+-static void __exit exit_sd(void)
++static void exit_sd(void)
+ {
+       int i;