diff options
author | Simon Glass <sjg@chromium.org> | 2023-09-27 08:22:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-06 14:38:13 -0400 |
commit | be5951461c23111b343348401defd1d05227a75e (patch) | |
tree | dda7de1743f13acd2cb9d63c25223b36400d7860 /include/command.h | |
parent | 14d9f63dcf88ab4e096496aa15898df1392aef0c (diff) | |
download | u-boot-be5951461c23111b343348401defd1d05227a75e.zip u-boot-be5951461c23111b343348401defd1d05227a75e.tar.gz u-boot-be5951461c23111b343348401defd1d05227a75e.tar.bz2 |
command: Include a required header in command.h
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>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'include/command.h')
-rw-r--r-- | include/command.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h index ae7bb4a..34ea989 100644 --- a/include/command.h +++ b/include/command.h @@ -25,6 +25,10 @@ #endif #ifndef __ASSEMBLY__ + +/* For ARRAY_SIZE() */ +#include <linux/kernel.h> + /* * Monitor Command Table */ |