aboutsummaryrefslogtreecommitdiff
path: root/include/i8042.h
diff options
context:
space:
mode:
authorTom Rini2021-08-19 14:58:00 -0400
committerTom Rini2021-08-30 14:13:28 -0400
commitb21f965bb055cd7eede411e489d886122c63d04a (patch)
tree1642f9412291039e5b5d7aa0e63dea89fb88ba0e /include/i8042.h
parent7ae1b0804d8837ecec14538f18903793d187f328 (diff)
i8042: Do not abuse CONFIG namespace
This driver uses the CONFIG namespace to set the chips internal CONFIG namespace related bits. However, CONFIG is reserved for the top-level Kconfig based configuration system. Use CFG as the namespace here instead to avoid pollution. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/i8042.h')
-rw-r--r--include/i8042.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/i8042.h b/include/i8042.h
index 8d69fa13bc2..687632058c9 100644
--- a/include/i8042.h
+++ b/include/i8042.h
@@ -20,12 +20,12 @@
#define STATUS_IBF (1 << 1)
/* Configuration byte bit defines */
-#define CONFIG_KIRQ_EN (1 << 0)
-#define CONFIG_MIRQ_EN (1 << 1)
-#define CONFIG_SET_BIST (1 << 2)
-#define CONFIG_KCLK_DIS (1 << 4)
-#define CONFIG_MCLK_DIS (1 << 5)
-#define CONFIG_AT_TRANS (1 << 6)
+#define CFG_KIRQ_EN (1 << 0)
+#define CFG_MIRQ_EN (1 << 1)
+#define CFG_SET_BIST (1 << 2)
+#define CFG_KCLK_DIS (1 << 4)
+#define CFG_MCLK_DIS (1 << 5)
+#define CFG_AT_TRANS (1 << 6)
/* i8042 commands */
#define CMD_RD_CONFIG 0x20 /* read configuration byte */