mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
14d9f63dcf
commit
be5951461c
2 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,10 @@
|
|||
#endif
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/* For ARRAY_SIZE() */
|
||||
#include <linux/kernel.h>
|
||||
|
||||
/*
|
||||
* Monitor Command Table
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue