[kernel] fix mips linking failure on bad section (#6635)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19533 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2010-02-05 20:50:13 +00:00
parent 6da72b8e02
commit d19025a586
1 changed files with 13 additions and 0 deletions

View File

@ -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;