[PATCH] sunxi: Fix typo in include guard

Andre Przywara andre.przywara at arm.com
Mon May 15 11:48:58 CEST 2023


On Fri, 12 May 2023 15:22:14 -0600
Sam Edwards <cfsworks at gmail.com> wrote:

Hi Sam,

Good catch! It's not the first time we see misspelled preprocessor
symbols, although that typically happens with Kconfig names.

How did you find this? Just by accident? I was wondering if we could
check the tree automatically for those accidents.

> Signed-off-by: Sam Edwards <CFSworks at gmail.com>

Reviewed-by: Andre Przywara <andre.przywara at arm.com>

Cheers,
Andre

> ---
>  arch/arm/include/asm/arch-sunxi/pmic_bus.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/arch-sunxi/pmic_bus.h b/arch/arm/include/asm/arch-sunxi/pmic_bus.h
> index 3ccfe138f3..5ab9b2809f 100644
> --- a/arch/arm/include/asm/arch-sunxi/pmic_bus.h
> +++ b/arch/arm/include/asm/arch-sunxi/pmic_bus.h
> @@ -6,7 +6,7 @@
>   */
>  
>  #ifndef _SUNXI_PMIC_BUS_H
> -#define _SUNXI_PMIS_BUS_H
> +#define _SUNXI_PMIC_BUS_H
>  
>  int pmic_bus_init(void);
>  int pmic_bus_read(u8 reg, u8 *data);



More information about the U-Boot mailing list