]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c9c68243d29fa7b5e0b7e57914c209fc14af9c3
treecdfa805c8554e2591d85664cace73b4b48a26768
parent54592358dcb034004243b81cd3bc145b638dcc1e
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