diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/accessibility | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'drivers/accessibility')
-rw-r--r-- | drivers/accessibility/braille/braille_console.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibility/braille/braille_console.c index d21167bfc86..cb423f5aef2 100644 --- a/drivers/accessibility/braille/braille_console.c +++ b/drivers/accessibility/braille/braille_console.c | |||
@@ -44,7 +44,7 @@ MODULE_LICENSE("GPL"); | |||
44 | */ | 44 | */ |
45 | 45 | ||
46 | /* Emit various sounds */ | 46 | /* Emit various sounds */ |
47 | static bool sound; | 47 | static int sound; |
48 | module_param(sound, bool, 0); | 48 | module_param(sound, bool, 0); |
49 | MODULE_PARM_DESC(sound, "emit sounds"); | 49 | MODULE_PARM_DESC(sound, "emit sounds"); |
50 | 50 | ||
@@ -244,13 +244,16 @@ static int keyboard_notifier_call(struct notifier_block *blk, | |||
244 | 244 | ||
245 | switch (val) { | 245 | switch (val) { |
246 | case KVAL(K_CAPS): | 246 | case KVAL(K_CAPS): |
247 | on_off = vt_get_leds(fg_console, VC_CAPSLOCK); | 247 | on_off = vc_kbd_led(kbd_table + fg_console, |
248 | VC_CAPSLOCK); | ||
248 | break; | 249 | break; |
249 | case KVAL(K_NUM): | 250 | case KVAL(K_NUM): |
250 | on_off = vt_get_leds(fg_console, VC_NUMLOCK); | 251 | on_off = vc_kbd_led(kbd_table + fg_console, |
252 | VC_NUMLOCK); | ||
251 | break; | 253 | break; |
252 | case KVAL(K_HOLD): | 254 | case KVAL(K_HOLD): |
253 | on_off = vt_get_leds(fg_console, VC_SCROLLOCK); | 255 | on_off = vc_kbd_led(kbd_table + fg_console, |
256 | VC_SCROLLOCK); | ||
254 | break; | 257 | break; |
255 | } | 258 | } |
256 | if (on_off == 1) | 259 | if (on_off == 1) |