From 0ae74f9519eba2c58e1912c14c2db9e1e40d711a Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Fri, 29 Nov 2019 16:14:32 +0100 Subject: common: provide stubs for ctrlc_* functions Currently the stubs are only provided for CONFIG_CONSOLE_SIMPLE, but they are also needed for CONSOLE_NONE. Move them to the header. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- common/console_simple.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'common') diff --git a/common/console_simple.c b/common/console_simple.c index 6d293b2ba1..42224842c5 100644 --- a/common/console_simple.c +++ b/common/console_simple.c @@ -64,9 +64,6 @@ void console_flush(void) } EXPORT_SYMBOL(console_flush); -void ctrlc_handled(void) -{ -} /* test if ctrl-c was pressed */ int ctrlc (void) { @@ -81,14 +78,6 @@ int ctrlc (void) } EXPORT_SYMBOL(ctrlc); -void console_ctrlc_allow(void) -{ -} - -void console_ctrlc_forbid(void) -{ -} - int console_register(struct console_device *newcdev) { if (console) -- cgit v1.2.3