Remove <common.h> from this driver directory and when needed add missing include files directly.
Signed-off-by: Tom Rini <tr...@konsulko.com> --- Cc: Tom Rini <tr...@konsulko.com> Cc: Thierry Reding <tred...@nvidia.com> Cc: Svyatoslav Ryhel <clamo...@gmail.com> Cc: Caleb Connolly <caleb.conno...@linaro.org> Cc: Simon Glass <s...@chromium.org> Cc: Bin Meng <bmeng...@gmail.com> Cc: Heinrich Schuchardt <xypron.g...@gmx.de> --- drivers/input/apple_spi_kbd.c | 1 - drivers/input/button_kbd.c | 1 - drivers/input/cros_ec_keyb.c | 1 - drivers/input/i8042.c | 1 - drivers/input/input.c | 2 +- drivers/input/key_matrix.c | 1 - drivers/input/keyboard-uclass.c | 1 - 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 7cf12f453a30..5b30cec2dcb9 100644 --- a/drivers/input/apple_spi_kbd.c +++ b/drivers/input/apple_spi_kbd.c @@ -3,7 +3,6 @@ * Copyright (C) 2021 Mark Kettenis <kette...@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 c73d3b18be9c..0a917ac8b995 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 c4853463739b..0917ee20fedc 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 e6070ca01529..9bf21053cf06 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 8a6506e7c6f9..3f146fb07e6d 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -6,13 +6,13 @@ * (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, w...@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 e2fb2e170787..2e631660c880 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, w...@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 aefc8e825e20..df9ee8f7d659 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 d4741a76663e..fc13975d4f0f 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> -- 2.34.1