aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-10-14 18:59:27 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-10-14 18:59:27 +0000
commitdfe577a817d8384c313f0a184be75efeb3cd8445 (patch)
tree70b809f525b66182abb50f8fa77a9a5202bf0a5f /include/drivers
parent5dfe680fa8041d2a4a983fee9517a6bf451a1767 (diff)
parent831b0e9824e6c7cb07308830c12977acb79156c7 (diff)
downloadtrusted-firmware-a-dfe577a817d8384c313f0a184be75efeb3cd8445.tar.gz
Merge "Don't return error information from console_flush" into integration
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/console.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drivers/console.h b/include/drivers/console.h
index 761816ac74..99bf960418 100644
--- a/include/drivers/console.h
+++ b/include/drivers/console.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -43,7 +43,7 @@ typedef struct console {
u_register_t flags;
int (*const putc)(int character, struct console *console);
int (*const getc)(struct console *console);
- int (*const flush)(struct console *console);
+ void (*const flush)(struct console *console);
uintptr_t base;
/* Additional private driver data may follow here. */
} console_t;
@@ -76,7 +76,7 @@ int console_putc(int c);
/* Read a character (blocking) from any console registered for current state. */
int console_getc(void);
/* Flush all consoles registered for the current state. */
-int console_flush(void);
+void console_flush(void);
#endif /* __ASSEMBLER__ */