Skip to content

Commit

Permalink
isdn/diva: fix section mismatch
Browse files Browse the repository at this point in the history
__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 <[email protected]>
Cc: Karsten Keil <[email protected]>
Acked-by: Armin Schindler <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and Linus Torvalds committed Jun 9, 2007
1 parent e16f535 commit 7b4dc1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/isdn/hardware/eicon/divasfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int DIVA_INIT_FUNCTION connect_didd(void)
/*
* disconnect from didd
*/
static void DIVA_EXIT_FUNCTION disconnect_didd(void)
static void disconnect_didd(void)
{
IDI_SYNC_REQ req;

Expand Down

0 comments on commit 7b4dc1f

Please sign in to comment.