1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-30 23:11:32 +02:00

core: 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>
This commit is contained in:
Tom Rini
2024-05-01 19:30:37 -06:00
parent 92bb2cd42a
commit 6ec93ba358
20 changed files with 1 additions and 20 deletions

View File

@@ -8,7 +8,6 @@
#define LOG_CATEOGRY LOGC_ACPI
#include <common.h>
#include <display_options.h>
#include <dm.h>
#include <log.h>

View File

@@ -10,7 +10,6 @@
#define LOG_CATEGORY LOGC_DM
#include <common.h>
#include <errno.h>
#include <log.h>
#include <malloc.h>

View File

@@ -8,8 +8,8 @@
* Pavel Herrmann <morpheus.ibis@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <errno.h>
#include <event.h>
#include <log.h>
#include <asm/global_data.h>

View File

@@ -9,7 +9,6 @@
#define LOG_CATEGORY LOGC_DEVRES
#include <common.h>
#include <log.h>
#include <malloc.h>
#include <linux/compat.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2015 Google, Inc
*/
#include <common.h>
#include <dm.h>
#include <malloc.h>
#include <mapmem.h>

View File

@@ -8,7 +8,6 @@
* Pavel Herrmann <morpheus.ibis@gmail.com>
*/
#include <common.h>
#include <dm.h>
#include <fdt_support.h>
#include <log.h>

View File

@@ -8,7 +8,6 @@
#define LOG_CATEGORY LOGC_DM
#include <common.h>
#include <errno.h>
#include <log.h>
#include <dm/device.h>

View File

@@ -19,7 +19,6 @@
* Linux version.
*/
#include <common.h>
#include <log.h>
#include <malloc.h>
#include <asm/global_data.h>

View File

@@ -6,7 +6,6 @@
* Copyright (c) 2017 Google, Inc
*/
#include <common.h>
#include <log.h>
#include <linux/bug.h>
#include <linux/libfdt.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <log.h>
#include <linux/libfdt.h>
#include <dm/of_access.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY LOGC_DT
#include <common.h>
#include <dm.h>
#include <fdtdec.h>
#include <fdt_support.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <dm.h>
#include <dm/of_access.h>
#include <mapmem.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <dm.h>
#include <dm/of_addr.h>
#include <dm/read.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY LOGC_DM
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@@ -8,7 +8,6 @@
#define LOG_CATEGORY UCLASS_ROOT
#include <common.h>
#include <errno.h>
#include <fdtdec.h>
#include <log.h>

View File

@@ -5,7 +5,6 @@
#define LOG_CATEGORY UCLASS_SIMPLE_BUS
#include <common.h>
#include <asm/global_data.h>
#include <dm.h>
#include <dm/simple_bus.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
*/
#include <common.h>
#include <clk.h>
#include <dm.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_SYSCON
#include <common.h>
#include <log.h>
#include <syscon.h>
#include <dm.h>

View File

@@ -8,7 +8,6 @@
#define LOG_CATEGORY LOGC_DM
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2013 Google, Inc
*/
#include <common.h>
#include <dm/device.h>
#include <dm/ofnode.h>
#include <dm/read.h>