console: Add console_get_by_name
Commands like loadx/loady wish to find a console device by its name. Add
a function for this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 56b2fe7 commit e53e7218ad003c0fb48a02ce860c49e4220845d8
@Sascha Hauer Sascha Hauer authored on 8 Jun 2015
Showing 2 changed files
View
common/console_common.c
View
include/console.h