mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03: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:
@@ -8,6 +8,7 @@
|
||||
#include <common.h>
|
||||
#include <bootstage.h>
|
||||
#include <cli.h>
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
@@ -29,7 +30,6 @@
|
||||
#include "mkimage.h"
|
||||
#endif
|
||||
|
||||
#include <command.h>
|
||||
#include <bootm.h>
|
||||
#include <image.h>
|
||||
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
#endif
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/* For ARRAY_SIZE() */
|
||||
#include <linux/kernel.h>
|
||||
|
||||
/*
|
||||
* Monitor Command Table
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user