[PATCH] clk: at91: fix the build with binutils 2.27

Stephen Boyd sboyd at kernel.org
Tue Oct 11 19:28:14 PDT 2022


Quoting Kefeng Wang (2022-10-07 22:15:34)
> diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h
> index 3484309b59bf..4fc387d0335d 100644
> --- a/include/linux/clk/at91_pmc.h
> +++ b/include/linux/clk/at91_pmc.h
> @@ -12,6 +12,8 @@
>  #ifndef AT91_PMC_H
>  #define AT91_PMC_H
>  
> +#include <vdso/bits.h>

Can we just include linux/bits.h instead? It looks weird to include
vdso/ outside of the kernel's vdso.

> +
>  #define AT91_PMC_V1            (1)                     /* PMC version 1 */
>  #define AT91_PMC_V2            (2)                     /* PMC version 2 [SAM9X60] */
>



More information about the linux-arm-kernel mailing list