From: Andrew Morton 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 --- drivers/block/cpqarray.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/block/cpqarray.c~cpqarray-section-fix drivers/block/cpqarray.c --- 25-alpha/drivers/block/cpqarray.c~cpqarray-section-fix 2006-05-20 01:39:18.000000000 -0700 +++ 25-alpha-akpm/drivers/block/cpqarray.c 2006-05-20 01:40:25.000000000 -0700 @@ -392,7 +392,7 @@ static void __devexit cpqarray_remove_on } /* pdev is NULL for eisa */ -static int cpqarray_register_ctlr( int i, struct pci_dev *pdev) +static int __init cpqarray_register_ctlr( int i, struct pci_dev *pdev) { request_queue_t *q; int j; @@ -744,7 +744,7 @@ __setup("smart2=", cpqarray_setup); /* * Find an EISA controller's signature. Set up an hba if we find it. */ -static int cpqarray_eisa_detect(void) +static int __init cpqarray_eisa_detect(void) { int i=0, j; __u32 board_id; _