console: introduce console_get_by_dev
so we can get console by it's device

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 14e8e0a commit 050f0d5978efde602c890d565dcba1566be6a335
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 19 Sep 2013
Sascha Hauer committed on 24 Sep 2013
Showing 2 changed files
View
common/console_common.c
View
include/console.h