mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
477 B
20 lines
477 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#ifndef _ASM_PARISC_KBDLEDS_H |
|
#define _ASM_PARISC_KBDLEDS_H |
|
|
|
/* |
|
* On HIL keyboards of PARISC machines there is no NumLock key and |
|
* everyone expects the keypad to be used for numbers. That's why |
|
* we can safely turn on the NUMLOCK bit. |
|
*/ |
|
|
|
static inline int kbd_defleds(void) |
|
{ |
|
#if defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD) |
|
return 1 << VC_NUMLOCK; |
|
#else |
|
return 0; |
|
#endif |
|
} |
|
|
|
#endif /* _ASM_PARISC_KBDLEDS_H */
|
|
|