mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
isdn/diva: fix section mismatch
__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> Cc: Karsten Keil <kkeil@suse.de> Acked-by: Armin Schindler <armin@melware.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e16f5350d4
commit
7b4dc1fdb8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user