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