diff options
Diffstat (limited to 'include/drivers/console.h')
-rw-r--r-- | include/drivers/console.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/drivers/console.h b/include/drivers/console.h index 23754665c..02f2f8a2d 100644 --- a/include/drivers/console.h +++ b/include/drivers/console.h @@ -52,8 +52,9 @@ typedef struct console { * implementation, e.g. console_16550_register() from <uart_16550.h>. Consoles * registered that way can be unregistered/reconfigured with below functions. */ -/* Remove a single console_t instance from the console list. */ -int console_unregister(console_t *console); +/* Remove a single console_t instance from the console list. Return a pointer to + * the console that was removed if it was found, or NULL if not. */ +console_t *console_unregister(console_t *console); /* Returns 1 if this console is already registered, 0 if not */ int console_is_registered(console_t *console); /* |