printk: move braille console support into separate braille.[ch] files
authorJoe Perches <joe@perches.com>
Wed, 31 Jul 2013 20:53:45 +0000 (13:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Jul 2013 21:41:03 +0000 (14:41 -0700)
commitbbeddf52adc1b4207674ab88686cbbe58c24f721
treeb5cc2fe8f140e340407e2daa8b1ab2ba63ae00f4
parentd197c43d04decb6b1298fa3ef26ea04a9ca7c977
printk: move braille console support into separate braille.[ch] files

Create files with prototypes and static inlines for braille support.  Make
braille_console functions return 1 on success.

Corrected CONFIG_A11Y_BRAILLE_CONSOLE=n _braille_console_setup
return value to NULL.

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/accessibility/braille/braille_console.c
kernel/printk/Makefile
kernel/printk/braille.c [new file with mode: 0644]
kernel/printk/braille.h [new file with mode: 0644]
kernel/printk/printk.c