From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] console: set device_d id at -1
Date: Thu, 23 Sep 2010 22:08:35 +0200 [thread overview]
Message-ID: <1285272515-26680-2-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1285272515-26680-1-git-send-email-plagnioj@jcrosoft.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2010-09-23 20:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 20:08 [PATCH 1/2] netconsole: remove non-needed setbaudrate Jean-Christophe PLAGNIOL-VILLARD
2010-09-23 20:08 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1285272515-26680-2-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox