summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-01-26 14:43:52 +0100
committerStefan Roese <sr@denx.de>2018-01-29 07:48:59 +0100
commit9dbaebcf9f401c5dcea762e34a3dc8ed10760623 (patch)
treea8902bd5b2d15f2d045fa0935841958c191a2fe3 /include/flash.h
parentc8a9a82c10e0c55f6cfa71cb174968cb54acfa5d (diff)
flash: Fix spelling of "ERR_TIMOUT"
checkpatch.pl complains about the spelling of ERR_TIMOUT. Since the error is only used in a handful of files, we rename the error to ERR_TIMEOUT. Signed-off-by: Mario Six <mario.six@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flash.h b/include/flash.h
index dc67cb2df6..1a4e879009 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -122,7 +122,7 @@ extern int jedec_flash_match(flash_info_t *info, ulong base);
* return codes from flash_write():
*/
#define ERR_OK 0
-#define ERR_TIMOUT 1
+#define ERR_TIMEOUT 1
#define ERR_NOT_ERASED 2
#define ERR_PROTECTED 4
#define ERR_INVAL 8