summaryrefslogtreecommitdiffstats
path: root/common/flash.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:40 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:26:48 -0500
commit0ee48252b456f310225fa8dd0f3a9921cfcf3399 (patch)
treef580fa4d2d2076d00d034d79f011885e5ca0169f /common/flash.c
parent6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498 (diff)
downloadu-boot-0ee48252b456f310225fa8dd0f3a9921cfcf3399.tar.gz
u-boot-0ee48252b456f310225fa8dd0f3a9921cfcf3399.tar.xz
u-boot-0ee48252b456f310225fa8dd0f3a9921cfcf3399.zip
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/flash.c')
-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: