diff options
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c index 889c26232d..204a08c593 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); |