remarkable-linux/net/irda
Samuel Ortiz 75a69ac6d6 [IrDA]: Fix IrDA build failure
When having built-in IrDA, we hit the following error:

`irda_sysctl_unregister' referenced in section `.init.text' of
net/built-in.o: defined in discarded section `.exit.text' of
net/built-in.o
`irda_proc_unregister' referenced in section `.init.text' of
net/built-in.o: defined in discarded section `.exit.text' of
net/built-in.o
`irsock_cleanup' referenced in section `.init.text' of net/built-in.o:
defined in discarded section `.exit.text' of net/built-in.o
`irttp_cleanup' referenced in section `.init.text' of net/built-in.o:
defined in discarded section `.exit.text' of net/built-in.o
`iriap_cleanup' referenced in section `.init.text' of net/built-in.o:
defined in discarded section `.exit.text' of net/built-in.o
`irda_device_cleanup' referenced in section `.init.text' of
net/built-in.o: defined in discarded section `.exit.text' of
net/built-in.o
`irlap_cleanup' referenced in section `.init.text' of net/built-in.o:
defined in discarded section `.exit.text' of net/built-in.o
`irlmp_cleanup' referenced in section `.init.text' of net/built-in.o:
defined in discarded section `.exit.text' of net/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2

This is due to the irda_init fix recently added, where we call __exit
routines from an __init one. It is a build failure that I didn't catch
because it doesn't show up when building IrDA as a module. My apologies
for that.
The following patch fixes that failure and is against your net-2.6
tree. I hope it can make it to the merge window, and stable@kernel.org
is CCed on this mail.

Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-18 02:16:30 -07:00
..
ircomm [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irlan [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irnet
af_irda.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
discovery.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irda_device.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
iriap.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
iriap_event.c
irias_object.c
irlap.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
irlap_event.c [IrDA]: f-timer reloading when sending rejected frames. 2007-06-08 19:15:56 -07:00
irlap_frame.c [IrDA]: Monitor mode. 2007-07-10 22:16:44 -07:00
irlmp.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
irlmp_event.c
irlmp_frame.c
irmod.c [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
irnetlink.c [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
irproc.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
irqueue.c [IrDA]: irda lockdep annotation 2007-04-25 22:26:23 -07:00
irsysctl.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
irttp.c [IrDA]: Fix IrDA build failure 2007-07-18 02:16:30 -07:00
Kconfig [S390] Kconfig: unwanted menus for s390. 2007-05-10 15:46:07 +02:00
Makefile [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
parameters.c [IrDA]: Misc spelling corrections. 2007-04-25 22:29:32 -07:00
qos.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
timer.c
wrapper.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00