Re: [PATCH] net: bluetooth: Fix build error from rfcomm/tty.c

2010-08-08 Thread Gustavo F. Padovan
Hi Santosh, * Santosh Shilimkar [2010-08-08 14:37:58 +0530]: > The build error is as follows: > `rfcomm_cleanup_ttys' referenced in section `.init.text' of net/built-in.o: > defined in discarded section `.exit.text' of net/built-in.o > make: *** [.tmp_vmlinux1] Error 1 > > This patch fixes by r

[PATCH] net: bluetooth: Fix build error from rfcomm/tty.c

2010-08-08 Thread Santosh Shilimkar
The build error is as follows: `rfcomm_cleanup_ttys' referenced in section `.init.text' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o make: *** [.tmp_vmlinux1] Error 1 This patch fixes by removing __exit from fucntion 'rfcomm_cleanup_ttys' to avoid section mismatch