aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cpqarray.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 08:47:45 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:01:06 -0400
commitbc64863814b14a4f75884746e68d3bf9f96b3559 (patch)
tree4f44a0690231ee9bd98a200fdf0c25f17bcb2095 /drivers/block/cpqarray.c
parentdbe217af3be08346f4b1abb885c2d9ec29c98fac (diff)
[PATCH] cpqarray section fix
WARNING: drivers/block/cpqarray.o - Section mismatch: reference to .init.text: from .text between 'cpqarray_register_ctlr' (at offset 0xe98) and 'alloc_cpqarray_hba' WARNING: drivers/block/cpqarray.o - Section mismatch: reference to .init.text: from .text between 'cpqarray_register_ctlr' (at offset 0xe9c) and 'alloc_cpqarray_hba' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/cpqarray.c')
-rw-r--r--drivers/block/cpqarray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c
index 79d4184658df..5eb6fb7b5cfa 100644
--- a/drivers/block/cpqarray.c
+++ b/drivers/block/cpqarray.c
@@ -392,7 +392,7 @@ static void __devexit cpqarray_remove_one_eisa (int i)
392} 392}
393 393
394/* pdev is NULL for eisa */ 394/* pdev is NULL for eisa */
395static int cpqarray_register_ctlr( int i, struct pci_dev *pdev) 395static int __init cpqarray_register_ctlr( int i, struct pci_dev *pdev)
396{ 396{
397 request_queue_t *q; 397 request_queue_t *q;
398 int j; 398 int j;
@@ -744,7 +744,7 @@ __setup("smart2=", cpqarray_setup);
744/* 744/*
745 * Find an EISA controller's signature. Set up an hba if we find it. 745 * Find an EISA controller's signature. Set up an hba if we find it.
746 */ 746 */
747static int cpqarray_eisa_detect(void) 747static int __init cpqarray_eisa_detect(void)
748{ 748{
749 int i=0, j; 749 int i=0, j;
750 __u32 board_id; 750 __u32 board_id;