Message ID | e71ca4ddbf43f0a297732ee8cea6ab1ee5c1bee0.camel@suse.de |
---|---|
State | New |
Headers | show |
Series | include/bitfield.h: include byteorder.h | expand |
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 >
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
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. include/linux/bitfield.h | 1 + 1 file changed, 1 insertion(+)