[PATCH] include/bitfield.h: include byteorder.h

Matthias Brugger mbrugger at suse.com
Fri Jul 10 10:24:15 CEST 2020



On 09/07/2020 19:41, Nicolas Saenz Julienne wrote:
> This is needed in order to use the cpu_to_*()/*_to_cpu() family of
> functions.
> 
> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> ---
> 
> IMO the ideal thing would be to squash this into the original patch.

I'll test and squash, thanks!

> 
>   include/linux/bitfield.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/bitfield.h b/include/linux/bitfield.h
> index 7ad8b088ed..7ad02f8cbb 100644
> --- a/include/linux/bitfield.h
> +++ b/include/linux/bitfield.h
> @@ -16,6 +16,7 @@
>   #define _LINUX_BITFIELD_H
>   
>   #include <linux/bug.h>
> +#include <asm/byteorder.h>
>   
>   /*
>    * Bitfield access macros
> 


More information about the U-Boot mailing list