aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-02-05 20:50:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-02-05 20:50:13 +0000
commit477add8d0fb08564f0b2feeabc6e7339735d8527 (patch)
treef80aaf8a34670835188147130236e9eee6d49c6f /target/linux
parent520ea8e5f940cdaf9e612310578a7d184077b85c (diff)
downloadupstream-477add8d0fb08564f0b2feeabc6e7339735d8527.tar.gz
upstream-477add8d0fb08564f0b2feeabc6e7339735d8527.tar.bz2
upstream-477add8d0fb08564f0b2feeabc6e7339735d8527.zip
fix mips linking failure on bad section (#6635)
SVN-Revision: 19533
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/270-scci_sd_section_fix.patch13
1 files changed, 13 insertions, 0 deletions
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
index 0000000000..2ca7e48982
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.32/270-scci_sd_section_fix.patch
@@ -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;
+