1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

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>
This commit is contained in:
Simon Glass
2019-12-28 10:44:40 -07:00
committed by Tom Rini
parent 6b8d3ceaf5
commit 0ee48252b4
7 changed files with 14 additions and 6 deletions

View File

@@ -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: