summaryrefslogtreecommitdiffstats
path: root/common/console_simple.c
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 /common/console_simple.c
parente629a53a14aab6dd3afe7c3f6d76289deff64e5d (diff)
downloadbarebox-4430b1a6fca7d2c47c8a9d6eab63f4f4120afe2f.tar.gz
console_simple: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console_simple.c')
-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 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;
}