File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ static struct rv_reactor rv_panic = {
2424 .react = rv_panic_reaction
2525};
2626
27- static int register_react_panic (void )
27+ static int __init register_react_panic (void )
2828{
2929 rv_register_reactor (& rv_panic );
3030 return 0 ;
3131}
3232
33- static void unregister_react_panic (void )
33+ static void __exit unregister_react_panic (void )
3434{
3535 rv_unregister_reactor (& rv_panic );
3636}
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ static struct rv_reactor rv_printk = {
2323 .react = rv_printk_reaction
2424};
2525
26- static int register_react_printk (void )
26+ static int __init register_react_printk (void )
2727{
2828 rv_register_reactor (& rv_printk );
2929 return 0 ;
3030}
3131
32- static void unregister_react_printk (void )
32+ static void __exit unregister_react_printk (void )
3333{
3434 rv_unregister_reactor (& rv_printk );
3535}
You can’t perform that action at this time.
0 commit comments