[PATCH 2/3] net: sun8i-emac: Drop use of arch-specific header

Ramon Fried rfried.dev at gmail.com
Sat Aug 6 19:39:03 CEST 2022


On Fri, Jul 15, 2022 at 8:21 AM Samuel Holland <samuel at sholland.org> wrote:
>
> This header is not used since commit abdbefba2a4e ("net: sun8i_emac: Use
> consistent clock bitfield definitions"). Dropping it allows the driver
> to be architecture-independent.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>
>  drivers/net/sun8i_emac.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
> index a4b3492b7647..9cca8fa4e0a1 100644
> --- a/drivers/net/sun8i_emac.c
> +++ b/drivers/net/sun8i_emac.c
> @@ -16,7 +16,6 @@
>  #include <asm/global_data.h>
>  #include <asm/gpio.h>
>  #include <asm/io.h>
> -#include <asm/arch/clock.h>
>  #include <common.h>
>  #include <clk.h>
>  #include <dm.h>
> --
> 2.35.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list