]> err.no Git - linux-2.6/commitdiff
[PATCH] megaraid_mbox: fix section mismatch warnings
authorRandy Dunlap <rdunlap@xenotime.net>
Sun, 25 Jun 2006 12:48:05 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:09 +0000 (10:01 -0700)
Fix section warning:
WARNING: drivers/scsi/megaraid/megaraid_mbox.o - Section mismatch: reference to .init.text: from .text between 'megaraid_probe_one' (at offset 0x171e) and 'megaraid_queue_command'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/megaraid/megaraid_mbox.c

index bec1424eda850f0f5b121ed9e6fcb15c10506a7b..b7caf60638e81da07ac3ae6728529df117a6fe05 100644 (file)
@@ -714,7 +714,7 @@ megaraid_io_detach(adapter_t *adapter)
  * . Allocate memory required for all the commands
  * . Use internal library of FW routines, build up complete soft state
  */
-static int __init
+static int __devinit
 megaraid_init_mbox(adapter_t *adapter)
 {
        struct pci_dev          *pdev;