
21 Sep
2023
21 Sep
'23
3:57 a.m.
This uses ARRAY_SIZE() but does not include the header file which declares it. Fix this, so that command.h can be included without common.h
Signed-off-by: Simon Glass sjg@chromium.org ---
(no changes since v1)
include/command.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/command.h b/include/command.h index ae7bb4a30b05..8aebf7a95bf8 100644 --- a/include/command.h +++ b/include/command.h @@ -15,6 +15,9 @@
#include <linux/compiler_attributes.h>
+/* For ARRAY_SIZE() */ +#include <linux/kernel.h> + #ifndef NULL #define NULL 0 #endif
--
2.42.0.515.g380fc7ccd1-goog