1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ASM_PARISC_KBDLEDS_H 3 #define _ASM_PARISC_KBDLEDS_H 4 5 /* 6 * On HIL keyboards of PARISC machines there i 7 * everyone expects the keypad to be used for 8 * we can safely turn on the NUMLOCK bit. 9 */ 10 11 static inline int kbd_defleds(void) 12 { 13 #if defined(CONFIG_KEYBOARD_HIL) || defined(CO 14 return 1 << VC_NUMLOCK; 15 #else 16 return 0; 17 #endif 18 } 19 20 #endif /* _ASM_PARISC_KBDLEDS_H */ 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.