[PATCH] megaraid_mbox: fix section mismatch warnings

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>
This commit is contained in:
Randy Dunlap 2006-06-25 05:48:05 -07:00 committed by Linus Torvalds
parent b9bcf9c117
commit cedfb178ad
1 changed files with 1 additions and 1 deletions

View File

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