summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-07 13:05:54 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-07 13:05:54 +0100
commit4430b1a6fca7d2c47c8a9d6eab63f4f4120afe2f (patch)
treeb6970989e16aab62700ca172d1d9c88f2133724d
parente629a53a14aab6dd3afe7c3f6d76289deff64e5d (diff)
downloadbarebox-4430b1a6fca7d2c47c8a9d6eab63f4f4120afe2f.tar.gz
barebox-4430b1a6fca7d2c47c8a9d6eab63f4f4120afe2f.tar.xz
console_simple: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/console_simple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/console_simple.c b/common/console_simple.c
index 73e4752cd8..49c5b33fce 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;
}