[PATCH 05/11] console_simple: fix compiler warning

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 7 07:53:01 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 common/console_simple.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/console_simple.c b/common/console_simple.c
index 73e4752..49c5b33 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -167,4 +167,5 @@ int console_register(struct console_device *newcdev)
 
 int console_unregister(struct console_device *cdev)
 {
+	return -EBUSY;
 }
-- 
1.7.7.3




More information about the barebox mailing list