From: Randy Dunlap When CONFIG_HOTPLUG=n, this function needs to be present instead of discarded. WARNING: drivers/built-in.o(.text+0x2045f): Section mismatch: reference to .exit.text:tty_exit (between 'nozomi_card_exit' and 'card_type_show') Signed-off-by: Randy Dunlap Cc: Greg KH Signed-off-by: Andrew Morton --- drivers/char/nozomi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/nozomi.c~fix-gregkh-driver-nozomi drivers/char/nozomi.c --- a/drivers/char/nozomi.c~fix-gregkh-driver-nozomi +++ a/drivers/char/nozomi.c @@ -1636,7 +1636,7 @@ exit: up(&port->tty_sem); } -static void __devexit tty_exit(void) +static void tty_exit(void) { struct nozomi *dc = my_dev; int i, ret; _