summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/kd.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/kd.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/kd.h')
-rw-r--r--include/arch/x86_64/linux/kd.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/include/arch/x86_64/linux/kd.h b/include/arch/x86_64/linux/kd.h
index aa77a91b..1b165c01 100644
--- a/include/arch/x86_64/linux/kd.h
+++ b/include/arch/x86_64/linux/kd.h
@@ -130,7 +130,7 @@ struct kbdiacruc {
unsigned int diacr, base, result;
};
struct kbdiacrsuc {
- unsigned int kb_cnt; /* number of entries in following array */
+ unsigned int kb_cnt; /* number of entries in following array */
struct kbdiacruc kbdiacruc[256]; /* MAX_DIACR from keyboard.h */
};
#define KDGKBDIACRUC 0x4BFA /* read kernel accent table - UCS */
@@ -174,16 +174,14 @@ struct console_font {
*/
};
-#define KD_FONT_OP_SET 0 /* Set font */
-#define KD_FONT_OP_GET 1 /* Get font */
-#define KD_FONT_OP_SET_DEFAULT \
- 2 /* Set font to default, data points to name / NULL */
-#define KD_FONT_OP_COPY 3 /* Obsolete, do not use */
-#define KD_FONT_OP_SET_TALL 4 /* Set font with vpitch = height */
-#define KD_FONT_OP_GET_TALL 5 /* Get font with vpitch = height */
+#define KD_FONT_OP_SET 0 /* Set font */
+#define KD_FONT_OP_GET 1 /* Get font */
+#define KD_FONT_OP_SET_DEFAULT 2 /* Set font to default, data points to name / NULL */
+#define KD_FONT_OP_COPY 3 /* Obsolete, do not use */
+#define KD_FONT_OP_SET_TALL 4 /* Set font with vpitch = height */
+#define KD_FONT_OP_GET_TALL 5 /* Get font with vpitch = height */
-#define KD_FONT_FLAG_DONT_RECALC \
- 1 /* Don't recalculate hw charcell size [compat] */
+#define KD_FONT_FLAG_DONT_RECALC 1 /* Don't recalculate hw charcell size [compat] */
/* note: 0x4B00-0x4B4E all have had a value at some time;
don't reuse for the time being */