* [PATCH] net: bluetooth: Fix build error from rfcomm/tty.c
@ 2010-08-08 9:07 Santosh Shilimkar
[not found] ` <1281258478-17335-1-git-send-email-santosh.shilimkar-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Santosh Shilimkar @ 2010-08-08 9:07 UTC (permalink / raw)
To: linux-bluetooth; +Cc: linux-omap, Santosh Shilimkar, Marcel Holtmann
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
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
---
net/bluetooth/rfcomm/tty.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c
index 026205c..befc3a5 100644
--- a/net/bluetooth/rfcomm/tty.c
+++ b/net/bluetooth/rfcomm/tty.c
@@ -1183,7 +1183,7 @@ int __init rfcomm_init_ttys(void)
return 0;
}
-void __exit rfcomm_cleanup_ttys(void)
+void rfcomm_cleanup_ttys(void)
{
tty_unregister_driver(rfcomm_tty_driver);
put_tty_driver(rfcomm_tty_driver);
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: bluetooth: Fix build error from rfcomm/tty.c
[not found] ` <1281258478-17335-1-git-send-email-santosh.shilimkar-l0cyMroinI0@public.gmane.org>
@ 2010-08-08 18:24 ` Gustavo F. Padovan
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo F. Padovan @ 2010-08-08 18:24 UTC (permalink / raw)
To: Santosh Shilimkar
Cc: linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA, Marcel Holtmann
Hi Santosh,
* Santosh Shilimkar <santosh.shilimkar-l0cyMroinI0@public.gmane.org> [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 removing __exit from fucntion 'rfcomm_cleanup_ttys'
> to avoid section mismatch
>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar-l0cyMroinI0@public.gmane.org>
> Cc: Marcel Holtmann <marcel-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
> ---
> net/bluetooth/rfcomm/tty.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
We have fixed that already, thanks anyway. ;)
--
Gustavo F. Padovan
http://padovan.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-08 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-08 9:07 [PATCH] net: bluetooth: Fix build error from rfcomm/tty.c Santosh Shilimkar
[not found] ` <1281258478-17335-1-git-send-email-santosh.shilimkar-l0cyMroinI0@public.gmane.org>
2010-08-08 18:24 ` Gustavo F. Padovan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).