aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/tt/gdb_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/tt/gdb_kern.c')
-rw-r--r--arch/um/kernel/tt/gdb_kern.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/kernel/tt/gdb_kern.c b/arch/um/kernel/tt/gdb_kern.c
index 68e1bf63cd0..03b06bc0077 100644
--- a/arch/um/kernel/tt/gdb_kern.c
+++ b/arch/um/kernel/tt/gdb_kern.c
@@ -8,10 +8,11 @@
#ifdef CONFIG_MCONSOLE
-extern int gdb_config(char *str);
-extern int gdb_remove(int n);
+extern int gdb_config(char *str, char **error_out);
+extern int gdb_remove(int n, char **error_out);
static struct mc_device gdb_mc = {
+ .list = INIT_LIST_HEAD(gdb_mc.list),
.name = "gdb",
.config = gdb_config,
.remove = gdb_remove,