1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PRINTK_BRAILLE_H
3 #define _PRINTK_BRAILLE_H
5 #ifdef CONFIG_A11Y_BRAILLE_CONSOLE
8 braille_set_options(struct console_cmdline
*c
, char *brl_options
)
10 c
->brl_options
= brl_options
;
14 * Setup console according to braille options.
15 * Return -EINVAL on syntax error, 0 on success (or no braille option was
17 * Modifies str to point to the serial options
18 * Sets brl_options to the parsed braille options.
21 _braille_console_setup(char **str
, char **brl_options
);
24 _braille_register_console(struct console
*console
, struct console_cmdline
*c
);
27 _braille_unregister_console(struct console
*console
);
32 braille_set_options(struct console_cmdline
*c
, char *brl_options
)
37 _braille_console_setup(char **str
, char **brl_options
)
43 _braille_register_console(struct console
*console
, struct console_cmdline
*c
)
49 _braille_unregister_console(struct console
*console
)