[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0706071558110.7490@phoenix.one.melware.de>
Date: Thu, 7 Jun 2007 16:02:11 +0200 (CEST)
From: Armin Schindler <armin@...ware.de>
To: Randy Dunlap <randy.dunlap@...cle.com>
Cc: lkml <linux-kernel@...r.kernel.org>,
akpm <akpm@...ux-foundation.org>, kkeil@...e.de
Subject: Re: [PATCH] isdn/diva: fix section mismatch
From: Randy Dunlap <randy.dunlap@...cle.com>
__exit function is used by both init and exit routines, so it cannot
be marked __init. (from allyesconfig)
WARNING: drivers/built-in.o(.text+0x9b83cf): Section mismatch: reference to .exit.text: (between 'divasfunc_exit' and 'didd_callback')
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Acked-by: Armin Schindler <armin@...ware.de>
---
drivers/isdn/hardware/eicon/divasfunc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2622-rc4.orig/drivers/isdn/hardware/eicon/divasfunc.c
+++ linux-2622-rc4/drivers/isdn/hardware/eicon/divasfunc.c
@@ -195,7 +195,7 @@ static int DIVA_INIT_FUNCTION connect_di
/*
* disconnect from didd
*/
-static void DIVA_EXIT_FUNCTION disconnect_didd(void)
+static void disconnect_didd(void)
{
IDI_SYNC_REQ req;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists