From: Tom Rini Date: Thu, 2 May 2024 01:30:53 +0000 (-0600) Subject: input: Remove and add needed includes X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=503cc4d2cb72b576538261398473705ebeaabbbf;p=u-boot.git input: Remove and add needed includes Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- diff --git a/drivers/input/apple_spi_kbd.c b/drivers/input/apple_spi_kbd.c index 7cf12f453a..5b30cec2dc 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 c73d3b18be..0a917ac8b9 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 c485346373..0917ee20fe 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 e6070ca015..9bf21053cf 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 8a6506e7c6..3f146fb07e 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 e2fb2e1707..2e631660c8 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 aefc8e825e..df9ee8f7d6 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 d4741a7666..fc13975d4f 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