diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-10-03 09:21:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-10-06 13:19:46 +0200 |
commit | 6a5121f74894ed2d3514b59bd287d126eb7f1488 (patch) | |
tree | 8259be40e6cad36b274aeb3fb9768c71a6c8714a /include/console.h | |
parent | 651a23a69e598658e05e9e55d390db3a3f2a738a (diff) | |
download | barebox-6a5121f74894ed2d3514b59bd287d126eb7f1488.tar.gz barebox-6a5121f74894ed2d3514b59bd287d126eb7f1488.tar.xz |
console: factorise function to get the first enabled console
rename it to console_get_first_active
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/console.h')
-rw-r--r-- | include/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index 56e0484e93..707ba92f3a 100644 --- a/include/console.h +++ b/include/console.h @@ -53,4 +53,6 @@ extern struct list_head console_list; #define CFG_PBSIZE (CONFIG_CBSIZE+sizeof(CONFIG_PROMPT)+16) +struct console_device *console_get_first_active(void); + #endif |