Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- common/console.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/common/console.c b/common/console.c index 889c262..204a08c 100644 --- a/common/console.c +++ b/common/console.c @@ -135,6 +135,7 @@ int console_register(struct console_device *newcdev) int first = 0; char ch; + dev->id = -1; strcpy(dev->name, "cs"); dev->type_data = newcdev; register_device(dev); -- 1.7.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox