Commit | Line | Data |
---|---|---|
bbeddf52 JP |
1 | #ifndef _PRINTK_BRAILLE_H |
2 | #define _PRINTK_BRAILLE_H | |
3 | ||
4 | #ifdef CONFIG_A11Y_BRAILLE_CONSOLE | |
5 | ||
6 | static inline void | |
7 | braille_set_options(struct console_cmdline *c, char *brl_options) | |
8 | { | |
9 | c->brl_options = brl_options; | |
10 | } | |
11 | ||
12 | char * | |
13 | _braille_console_setup(char **str, char **brl_options); | |
14 | ||
15 | int | |
16 | _braille_register_console(struct console *console, struct console_cmdline *c); | |
17 | ||
18 | int | |
19 | _braille_unregister_console(struct console *console); | |
20 | ||
21 | #else | |
22 | ||
23 | static inline void | |
24 | braille_set_options(struct console_cmdline *c, char *brl_options) | |
25 | { | |
26 | } | |
27 | ||
28 | static inline char * | |
29 | _braille_console_setup(char **str, char **brl_options) | |
30 | { | |
31 | return NULL; | |
32 | } | |
33 | ||
34 | static inline int | |
35 | _braille_register_console(struct console *console, struct console_cmdline *c) | |
36 | { | |
37 | return 0; | |
38 | } | |
39 | ||
40 | static inline int | |
41 | _braille_unregister_console(struct console *console) | |
42 | { | |
43 | return 0; | |
44 | } | |
45 | ||
46 | #endif | |
47 | ||
48 | #endif |