console: Add set_active callback
The netconsole needs to be able to deny activation when the network
has not been enabled. Add an optional callback to the console for
this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 631be8e commit 2e1a6c9bcec588d8e3b4dade5fbf4be7265530e8
@Sascha Hauer Sascha Hauer authored on 17 Dec 2014
Showing 2 changed files
View
common/console.c
View
include/console.h