i40e: Remove separate functions gathering XOFF Rx stats
[linux/fpc-iii.git] / kernel / printk / braille.h
blob769d771145c881cd78f43c035ea0866adb96b9b9
1 #ifndef _PRINTK_BRAILLE_H
2 #define _PRINTK_BRAILLE_H
4 #ifdef CONFIG_A11Y_BRAILLE_CONSOLE
6 static inline void
7 braille_set_options(struct console_cmdline *c, char *brl_options)
9 c->brl_options = brl_options;
12 char *
13 _braille_console_setup(char **str, char **brl_options);
15 int
16 _braille_register_console(struct console *console, struct console_cmdline *c);
18 int
19 _braille_unregister_console(struct console *console);
21 #else
23 static inline void
24 braille_set_options(struct console_cmdline *c, char *brl_options)
28 static inline char *
29 _braille_console_setup(char **str, char **brl_options)
31 return NULL;
34 static inline int
35 _braille_register_console(struct console *console, struct console_cmdline *c)
37 return 0;
40 static inline int
41 _braille_unregister_console(struct console *console)
43 return 0;
46 #endif
48 #endif