From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtpbguseast2.qq.com ([54.204.34.130]) by casper.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iG1Xc-0003PI-LU for barebox@lists.infradead.org; Thu, 03 Oct 2019 13:53:15 +0000 From: iu87m888m@qq.com Date: Thu, 3 Oct 2019 21:52:12 +0800 Message-Id: <1570110732-20309-1-git-send-email-iu87m888m@qq.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] fix compile error when set CONFIG_CONSOLE_SIMPLE=y To: barebox@lists.infradead.org Cc: DU HUANPENG From: DU HUANPENG Signed-off-by: DU HUANPENG --- common/console_simple.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/console_simple.c b/common/console_simple.c index 385da2f..010e0b3 100644 --- a/common/console_simple.c +++ b/common/console_simple.c @@ -65,6 +65,9 @@ void console_flush(void) EXPORT_SYMBOL(console_flush); #ifndef ARCH_HAS_CTRLC +void ctrlc_handled(void) +{ +} /* test if ctrl-c was pressed */ int ctrlc (void) { @@ -73,6 +76,15 @@ int ctrlc (void) return 0; } EXPORT_SYMBOL(ctrlc); + +void console_ctrlc_allow(void) +{ +} + +void console_ctrlc_forbid(void) +{ +} + #endif /* ARCH_HAS_CTRC */ int console_register(struct console_device *newcdev) -- 2.7.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox