5 #include <linux/module.h>
6 #include <linux/kernel.h>
7 #include <linux/string.h>
9 #include <linux/errno.h>
11 static struct nls_table
*p_nls
;
13 static struct nls_table table
= {
22 static int __init
init_nls_big5(void)
24 p_nls
= load_nls("cp950");
27 table
.uni2char
= p_nls
->uni2char
;
28 table
.char2uni
= p_nls
->char2uni
;
29 table
.charset2upper
= p_nls
->charset2upper
;
30 table
.charset2lower
= p_nls
->charset2lower
;
31 return register_nls(&table
);
37 static void __exit
exit_nls_big5(void)
39 unregister_nls(&table
);
43 module_init(init_nls_big5
)
44 module_exit(exit_nls_big5
)
47 * Overrides for Emacs so that we follow Linus's tabbing style.
48 * Emacs will notice this stuff at the end of the file and automatically
49 * adjust the settings for this buffer only. This must remain at the end
52 ---------------------------------------------------------------------------
55 * c-brace-imaginary-offset: 0
59 * c-continued-statement-offset: 8
60 * c-continued-brace-offset: 0