console: Add functions to get/set active state of console
Currently code needs to fiddle with the active parameter of a console
device directly to enable/disable consoles. Add console_set_active()
to set the status and console_get_active() to get the current status.

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