summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-12-28 10:44:40 -0700
committerJagan Teki <[email protected]>2020-01-24 23:06:47 +0530
commit9dfbc24459ccb0623c76f33b359e8fedb0e6d0a7 (patch)
tree591912b120ec5d4cb26a1755a6a2af107a0051ee /env
parent930c57ed9654f9fd53fe9bb0fc7d46d2e0317bbd (diff)
common: Move flash_perror() to flash.h
This function belongs more in flash.h than common.h so move it. Also remove the space before the bracket in some calls. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'env')
-rw-r--r--env/flash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/flash.c b/env/flash.c
index b487e6701ef..e05f7ef74b9 100644
--- a/env/flash.c
+++ b/env/flash.c
@@ -13,6 +13,7 @@
#include <command.h>
#include <env.h>
#include <env_internal.h>
+#include <flash.h>
#include <linux/stddef.h>
#include <malloc.h>
#include <search.h>