Commit Graph
1 Commits
Author SHA1 Message Date
Joshua Cov b2d0b7a061 keyboard: Use BIOS Keyboard variable to set Numlock
The PC BIOS does provide a NUMLOCK flag containing the desired state
of this LED. This patch sets the current state according to the data
in the bios.

[ hpa: fixed __weak declaration without definition, changed "inline"
  to "static inline" ]

Signed-Off-By: Joshua Cov <[email protected]>
Link: http://lkml.kernel.org/r/CAKL7Q7rvq87TNS1T_Km8fW_5OzS%[email protected]
Acked-by: Alan Cox <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
2012-05-08 14:19:41 -07:00