Skip to contentSkip to conversation

isdn/diva: fix section mismatch

PATCH In review Randy Dunlap 2 participants 2 messages Jun 6, 2007 – Jun 7, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 isdn/diva: fix section mismatch

From: Randy Dunlap <[email protected]>

__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')

---
 drivers/isdn/hardware/eicon/divasfunc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/isdn/hardware/eicon/divasfunc.c +1 -1
@@ -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;
 
Acked-by on v1 1/1
#1 lore raw

From: Randy Dunlap <[email protected]>

__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')

---
 drivers/isdn/hardware/eicon/divasfunc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/isdn/hardware/eicon/divasfunc.c +1 -1
@@ -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;