[U-Boot] [PATCH] spi: zynqmp: Remove unused platform headers

Michal Simek monstr at monstr.eu
Thu Oct 24 11:20:43 UTC 2019


po 14. 10. 2019 v 13:16 odesílatel Michal Simek
<michal.simek at xilinx.com> napsal:
>
> There is no reason to include clk.h and hardware.h headers.
> Driver doesn't require them.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/spi/zynqmp_gqspi.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
> index 04ea42cbccc4..c11f0402002a 100644
> --- a/drivers/spi/zynqmp_gqspi.c
> +++ b/drivers/spi/zynqmp_gqspi.c
> @@ -6,8 +6,6 @@
>   */
>
>  #include <common.h>
> -#include <asm/arch/clk.h>
> -#include <asm/arch/hardware.h>
>  #include <asm/arch/sys_proto.h>
>  #include <asm/io.h>
>  #include <clk.h>
> --
> 2.17.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list