diff options
author | Tom Rini | 2024-05-01 19:30:53 -0600 |
---|---|---|
committer | Tom Rini | 2024-05-07 08:00:55 -0600 |
commit | 503cc4d2cb72b576538261398473705ebeaabbbf (patch) | |
tree | ceba095a29f27f5a5f4f976b59f006e4b727a0d3 /drivers | |
parent | 3ebb4546eb3d5d3647d07f6923aa1dd79996625c (diff) |
input: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/apple_spi_kbd.c | 1 | ||||
-rw-r--r-- | drivers/input/button_kbd.c | 1 | ||||
-rw-r--r-- | drivers/input/cros_ec_keyb.c | 1 | ||||
-rw-r--r-- | drivers/input/i8042.c | 1 | ||||
-rw-r--r-- | drivers/input/input.c | 2 | ||||
-rw-r--r-- | drivers/input/key_matrix.c | 1 | ||||
-rw-r--r-- | drivers/input/keyboard-uclass.c | 1 | ||||
-rw-r--r-- | drivers/input/tegra-kbc.c | 2 |
8 files changed, 2 insertions, 8 deletions
diff --git a/drivers/input/apple_spi_kbd.c b/drivers/input/apple_spi_kbd.c index 7cf12f453a3..5b30cec2dcb 100644 --- a/drivers/input/apple_spi_kbd.c +++ b/drivers/input/apple_spi_kbd.c @@ -3,7 +3,6 @@ * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org> */ -#include <common.h> #include <dm.h> #include <keyboard.h> #include <spi.h> diff --git a/drivers/input/button_kbd.c b/drivers/input/button_kbd.c index c73d3b18be9..0a917ac8b99 100644 --- a/drivers/input/button_kbd.c +++ b/drivers/input/button_kbd.c @@ -4,7 +4,6 @@ */ #include <stdlib.h> -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <input.h> diff --git a/drivers/input/cros_ec_keyb.c b/drivers/input/cros_ec_keyb.c index c4853463739..0917ee20fed 100644 --- a/drivers/input/cros_ec_keyb.c +++ b/drivers/input/cros_ec_keyb.c @@ -5,7 +5,6 @@ * Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <errno.h> diff --git a/drivers/input/i8042.c b/drivers/input/i8042.c index e6070ca0152..9bf21053cf0 100644 --- a/drivers/input/i8042.c +++ b/drivers/input/i8042.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY UCLASS_KEYBOARD -#include <common.h> #include <dm.h> #include <env.h> #include <errno.h> diff --git a/drivers/input/input.c b/drivers/input/input.c index 8a6506e7c6f..3f146fb07e6 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -6,13 +6,13 @@ * (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de */ -#include <common.h> #include <console.h> #include <dm.h> #include <env.h> #include <errno.h> #include <log.h> #include <stdio_dev.h> +#include <time.h> #include <input.h> #ifdef CONFIG_DM_KEYBOARD #include <keyboard.h> diff --git a/drivers/input/key_matrix.c b/drivers/input/key_matrix.c index e2fb2e17078..2e631660c88 100644 --- a/drivers/input/key_matrix.c +++ b/drivers/input/key_matrix.c @@ -6,7 +6,6 @@ * (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de */ -#include <common.h> #include <dm.h> #include <key_matrix.h> #include <log.h> diff --git a/drivers/input/keyboard-uclass.c b/drivers/input/keyboard-uclass.c index aefc8e825e2..df9ee8f7d65 100644 --- a/drivers/input/keyboard-uclass.c +++ b/drivers/input/keyboard-uclass.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_KEYBOARD -#include <common.h> #include <dm.h> #include <keyboard.h> #include <log.h> diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index d4741a76663..fc13975d4f0 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input/tegra-kbc.c @@ -4,7 +4,6 @@ * NVIDIA Corporation <www.nvidia.com> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <input.h> @@ -13,6 +12,7 @@ #include <log.h> #include <stdio_dev.h> #include <tegra-kbc.h> +#include <time.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/funcmux.h> |