diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-25 05:48:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:09 -0700 |
commit | cedfb178ada245b6c52a654936b34d7996e26a1d (patch) | |
tree | 3f8d2c3b5a37438e8fa00da93877bc006354ee0d /drivers/scsi/megaraid/megaraid_mbox.c | |
parent | b9bcf9c117b0a39f7e59c9682a7b32a9253c0544 (diff) | |
download | linux-cedfb178ada245b6c52a654936b34d7996e26a1d.tar.gz linux-cedfb178ada245b6c52a654936b34d7996e26a1d.tar.bz2 linux-cedfb178ada245b6c52a654936b34d7996e26a1d.zip |
[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>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_mbox.c')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index bec1424eda85..b7caf60638e8 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c @@ -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; |