[PATCH 1/4] include linux/compiler.h in linux/unaligned/generic.h
Philipp Zabel
p.zabel at pengutronix.de
Thu Feb 1 02:46:11 PST 2018
Without this include, the __force macro used in this header may be
undefined.
Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
---
include/linux/unaligned/generic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/unaligned/generic.h b/include/linux/unaligned/generic.h
index 02d97ff3df..43d5f2af24 100644
--- a/include/linux/unaligned/generic.h
+++ b/include/linux/unaligned/generic.h
@@ -1,6 +1,8 @@
#ifndef _LINUX_UNALIGNED_GENERIC_H
#define _LINUX_UNALIGNED_GENERIC_H
+#include <linux/compiler.h>
+
/*
* Cause a link-time error if we try an unaligned access other than
* 1,2,4 or 8 bytes long
--
2.15.1
More information about the barebox
mailing list