* [PATCH] isdn/diva: fix section mismatch
@ 2007-06-06 21:20 Randy Dunlap
2007-06-07 14:02 ` Armin Schindler
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2007-06-06 21:20 UTC (permalink / raw)
To: lkml; +Cc: mac, akpm, kkeil
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.com>
---
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] isdn/diva: fix section mismatch
2007-06-06 21:20 [PATCH] isdn/diva: fix section mismatch Randy Dunlap
@ 2007-06-07 14:02 ` Armin Schindler
0 siblings, 0 replies; 2+ messages in thread
From: Armin Schindler @ 2007-06-07 14:02 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, akpm, kkeil
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.com>
Acked-by: Armin Schindler <armin@melware.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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-07 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-06 21:20 [PATCH] isdn/diva: fix section mismatch Randy Dunlap
2007-06-07 14:02 ` Armin Schindler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®