summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:40 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:47 +0530
commit9dfbc24459ccb0623c76f33b359e8fedb0e6d0a7 (patch)
tree591912b120ec5d4cb26a1755a6a2af107a0051ee /common
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 <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flash.c b/common/flash.c
index efe8f53de6..5f155aefd1 100644
--- a/common/flash.c
+++ b/common/flash.c
@@ -179,7 +179,7 @@ flash_write (char *src, ulong addr, ulong cnt)
/*-----------------------------------------------------------------------
*/
-void flash_perror (int err)
+void flash_perror(int err)
{
switch (err) {
case ERR_OK: