[PATCH 35/81] i2c: Remove <common.h> and add needed includes

Heiko Schocher hs at denx.de
Fri May 3 05:58:32 CEST 2024


Hello Tom,

On 02.05.24 03:30, Tom Rini wrote:
> Remove <common.h> from this driver directory and when needed
> add missing include files directly.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Ryan Chen <ryan_chen at aspeedtech.com>
> Cc: Aspeed BMC SW team <BMC-SW at aspeedtech.com>
> Cc: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
> Cc: Joel Stanley <joel at jms.id.au>
> Cc: Michal Simek <michal.simek at amd.com>
> Cc: Alex Nemirovsky <alex.nemirovsky at cortina-access.com>
> Cc: Liviu Dudau <liviu.dudau at foss.arm.com>
> Cc: Neil Armstrong <neil.armstrong at linaro.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Stefan Bosch <stefan_b at posteo.net>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Thierry Reding <treding at nvidia.com>
> Cc: Svyatoslav Ryhel <clamor95 at gmail.com>
> ---
>   drivers/i2c/acpi_i2c.c                     | 1 -
>   drivers/i2c/ast2600_i2c.c                  | 1 -
>   drivers/i2c/ast_i2c.c                      | 1 -
>   drivers/i2c/at91_i2c.c                     | 1 -
>   drivers/i2c/cros_ec_ldo.c                  | 1 -
>   drivers/i2c/cros_ec_tunnel.c               | 1 -
>   drivers/i2c/davinci_i2c.c                  | 2 +-
>   drivers/i2c/designware_i2c.c               | 1 -
>   drivers/i2c/designware_i2c_pci.c           | 1 -
>   drivers/i2c/exynos_hs_i2c.c                | 1 -
>   drivers/i2c/fsl_i2c.c                      | 2 +-
>   drivers/i2c/i2c-cdns.c                     | 1 -
>   drivers/i2c/i2c-cortina.c                  | 2 +-
>   drivers/i2c/i2c-emul-uclass.c              | 1 -
>   drivers/i2c/i2c-gpio.c                     | 1 -
>   drivers/i2c/i2c-microchip.c                | 1 -
>   drivers/i2c/i2c-uclass.c                   | 1 -
>   drivers/i2c/i2c-versatile.c                | 1 -
>   drivers/i2c/i2c_core.c                     | 2 +-
>   drivers/i2c/ihs_i2c.c                      | 1 -
>   drivers/i2c/imx_lpi2c.c                    | 1 -
>   drivers/i2c/intel_i2c.c                    | 2 +-
>   drivers/i2c/iproc_i2c.c                    | 1 -
>   drivers/i2c/lpc32xx_i2c.c                  | 2 +-
>   drivers/i2c/meson_i2c.c                    | 1 -
>   drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +-
>   drivers/i2c/muxes/i2c-mux-gpio.c           | 1 -
>   drivers/i2c/muxes/i2c-mux-uclass.c         | 1 -
>   drivers/i2c/muxes/pca954x.c                | 1 -
>   drivers/i2c/mv_i2c.c                       | 1 -
>   drivers/i2c/mvtwsi.c                       | 2 +-
>   drivers/i2c/mxc_i2c.c                      | 2 +-
>   drivers/i2c/nx_i2c.c                       | 2 +-
>   drivers/i2c/ocores_i2c.c                   | 1 -
>   drivers/i2c/omap24xx_i2c.c                 | 1 -
>   drivers/i2c/qup_i2c.c                      | 1 -
>   drivers/i2c/rcar_i2c.c                     | 1 -
>   drivers/i2c/rcar_iic.c                     | 1 -
>   drivers/i2c/rk_i2c.c                       | 1 -
>   drivers/i2c/s3c24x0_i2c.c                  | 2 +-
>   drivers/i2c/sandbox_i2c.c                  | 1 -
>   drivers/i2c/sh_i2c.c                       | 1 -
>   drivers/i2c/soft_i2c.c                     | 2 +-
>   drivers/i2c/stm32f7_i2c.c                  | 1 -
>   drivers/i2c/sun6i_p2wi.c                   | 1 -
>   drivers/i2c/sun8i_rsb.c                    | 1 -
>   drivers/i2c/tegra186_bpmp_i2c.c            | 1 -
>   drivers/i2c/tegra_i2c.c                    | 1 -
>   drivers/i2c/xilinx_xiic.c                  | 1 -
>   49 files changed, 12 insertions(+), 49 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list