sysreset: 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:31:25 -06:00
parent abe1bba2a0
commit 33a67c5eee
21 changed files with 1 additions and 21 deletions

View File

@ -11,7 +11,6 @@
* Copyright (C) 2012 Jamie Lentin
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@ -6,7 +6,6 @@
* Andreas Dannenberg <dannenberg@ti.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_SYSRESET
#include <common.h>
#include <command.h>
#include <cpu_func.h>
#include <dm.h>

View File

@ -3,7 +3,6 @@
* (C) Copyright 2016 Google, Inc
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@ -7,7 +7,6 @@
#include <asm/io.h>
#include <asm/arch/at91_rstc.h>
#include <clk.h>
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <dm/device_compat.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2018 Xilinx, Inc. - Michal Simek
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2018 Xilinx, Inc. - Michal Simek
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>

View File

@ -4,7 +4,6 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/
#include <common.h>
#include <command.h>
#include <dm.h>
#include <log.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2020 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2017 Masahiro Yamada <yamada.masahiro@socionext.com>
*/
#include <common.h>
#include <dm.h>
#include <sysreset.h>
#include <linux/errno.h>

View File

@ -5,7 +5,6 @@
* Author: Weijie Gao <weijie.gao@mediatek.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>

View File

@ -3,7 +3,6 @@
* (C) Copyright 2017 Rockchip Electronics Co., Ltd
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>

View File

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

View File

@ -3,7 +3,6 @@
* Copyright 2021, Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>

View File

@ -4,7 +4,6 @@
* Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>

View File

@ -4,7 +4,6 @@
* Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>

View File

@ -4,7 +4,6 @@
* Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
*/
#include <common.h>
#include <dm.h>
#include <regmap.h>
#include <syscon.h>

View File

@ -7,7 +7,6 @@
* Author: Feng Kan <fkan@apm.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <regmap.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
*/
#include <common.h>
#include <dm.h>
#include <dm/device-internal.h>
#include <errno.h>

View File

@ -5,7 +5,6 @@
* Generic reset driver for x86 processor
*/
#include <common.h>
#include <dm.h>
#include <efi_loader.h>
#include <pch.h>

View File

@ -5,7 +5,7 @@
* (C) Copyright 2016 Cadence Design Systems Inc.
*/
#include <common.h>
#include <config.h>
#include <dm.h>
#include <errno.h>
#include <sysreset.h>