From 503cc4d2cb72b576538261398473705ebeaabbbf Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 1 May 2024 19:30:53 -0600 Subject: input: Remove and add needed includes Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- 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(-) (limited to 'drivers') 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 */ -#include #include #include #include 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 -#include #include #include #include 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 #include #include #include 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 #include #include #include 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 #include #include #include #include #include #include +#include #include #ifdef CONFIG_DM_KEYBOARD #include 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 #include #include #include 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 #include #include #include 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 */ -#include #include #include #include @@ -13,6 +12,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3