summaryrefslogtreecommitdiffstats
path: root/include/console.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2015-01-13 07:11:49 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-13 08:48:59 +0100
commita1a582f4e0d51311b3a2fac9b7221be4b20fb9de (patch)
tree4022bd8d5ebd19464cc945bef1cb6f557c0ebc52 /include/console.h
parent6570288f2d97d3a3dceb3e631b4e4f4305352dc8 (diff)
downloadbarebox-a1a582f4e0d51311b3a2fac9b7221be4b20fb9de.tar.gz
barebox-a1a582f4e0d51311b3a2fac9b7221be4b20fb9de.tar.xz
console: allow to specify the device id
so we can use dynamic number id with specific devname Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index beafb4d778..72b4a440e7 100644
--- a/include/console.h
+++ b/include/console.h
@@ -47,6 +47,7 @@ struct console_device {
int (*set_active)(struct console_device *cdev, unsigned active);
char *devname;
+ int devid;
struct list_head list;