1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ASM_X86_KBDLEDS_H 3 #define _ASM_X86_KBDLEDS_H 4 5 /* 6 * Some laptops take the 789uiojklm,. keys as 7 * This seems a good reason to start with NumL 8 * ask the bios for the correct state. 9 */ 10 11 #include <asm/setup.h> 12 13 static inline int kbd_defleds(void) 14 { 15 return boot_params.kbd_status & 0x20 ? 16 } 17 18 #endif /* _ASM_X86_KBDLEDS_H */ 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.