1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC_KBDLEDS_H
3 #define _ASM_PARISC_KBDLEDS_H
6 * On HIL keyboards of PARISC machines there is no NumLock key and
7 * everyone expects the keypad to be used for numbers. That's why
8 * we can safely turn on the NUMLOCK bit.
11 static inline int kbd_defleds(void)
13 #if defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD)
14 return 1 << VC_NUMLOCK
;
20 #endif /* _ASM_PARISC_KBDLEDS_H */