diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2015-01-13 07:11:49 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-13 08:48:59 +0100 |
commit | a1a582f4e0d51311b3a2fac9b7221be4b20fb9de (patch) | |
tree | 4022bd8d5ebd19464cc945bef1cb6f557c0ebc52 /net/netconsole.c | |
parent | 6570288f2d97d3a3dceb3e631b4e4f4305352dc8 (diff) | |
download | barebox-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 'net/netconsole.c')
-rw-r--r-- | net/netconsole.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netconsole.c b/net/netconsole.c index 99b998408c..0ee6a7655b 100644 --- a/net/netconsole.c +++ b/net/netconsole.c @@ -154,6 +154,7 @@ static int netconsole_init(void) cdev->putc = nc_putc; cdev->getc = nc_getc; cdev->devname = "netconsole"; + cdev->devid = DEVICE_ID_SINGLE; cdev->set_active = nc_set_active; g_priv = priv; |