summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-04-16 11:34:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-16 11:34:41 +0200
commit86b9eb2105578eaecba52ca419c8670a51b70e99 (patch)
treea90d0574b4fee0842e51e42d5647bbc398102e4e /common
parent239a8523369472c4c6bb9a0649f2eb5977121dbe (diff)
parentabe4560c8add1c58a944b36e8ea51b10968f4d7b (diff)
downloadbarebox-86b9eb2105578eaecba52ca419c8670a51b70e99.tar.gz
barebox-86b9eb2105578eaecba52ca419c8670a51b70e99.tar.xz
Merge branch 'work/dns' into next
Diffstat (limited to 'common')
-rw-r--r--common/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index 83cc2a5a4d..37b86973a9 100644
--- a/common/console.c
+++ b/common/console.c
@@ -141,7 +141,7 @@ int console_register(struct console_device *newcdev)
if (initialized == CONSOLE_UNINITIALIZED)
console_init_early();
- dev->id = -1;
+ dev->id = DEVICE_ID_DYNAMIC;
strcpy(dev->name, "cs");
if (newcdev->dev)
dev_add_child(newcdev->dev, dev);