diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-04-06 22:03:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-04-11 08:33:47 +0200 |
commit | 68d69b43ea77eac93ac382107a011617a6ef09b1 (patch) | |
tree | 335f28628f240d19b2329342a22c743d29bbcd4c /include | |
parent | 2c32db73b263b4514bea45bdbf35590c14049fbb (diff) | |
download | barebox-68d69b43ea77eac93ac382107a011617a6ef09b1.tar.gz barebox-68d69b43ea77eac93ac382107a011617a6ef09b1.tar.xz |
console: Use dev_add_param_string
dev_add_param_string allows to pass a priv * so that the device_d *
argument is not needed and can be removed later.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/console.h b/include/console.h index 126c2e8aa3..724168e07c 100644 --- a/include/console.h +++ b/include/console.h @@ -53,7 +53,7 @@ struct console_device { struct list_head list; unsigned char f_active; - char active[4]; + char *active_string; unsigned int open_count; |