braille_console: only register notifiers when the braille console is used
authorPascal Terjan <pterjan@mandriva.com>
Thu, 2 Oct 2008 21:50:13 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Oct 2008 22:53:13 +0000 (15:53 -0700)
commitc0c9209ddd96bc4f1d70a8b9958710671e076080
treecdfa805c8554e2591d85664cace73b4b48a26768
parent16dbc6c9616363fe53811abcbd935336dc0a0f01
braille_console: only register notifiers when the braille console is used

Only register the braille driver VT and keyboard notifiers when the
braille console is used.  Avoids eating insert or backspace keys.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=11242

Signed-off-by: Pascal Terjan <pterjan@mandriva.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/accessibility/braille/braille_console.c