summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-06-21 10:34:54 -0700
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-06-22 17:40:01 +0000
commit9b3b36bd7a10278d0666b27282df4c1c2c4014c6 (patch)
tree99a9471b126467de37b9e211528dd791cee6f1d5 /misc
parentb4bbc71369e924190dc0b0f55af935d6a94a228f (diff)
gdb-server: update call to uart_register_input()
uart_register_input()'s signature changed with the addition of a callback. gdb_server.c was never updated so now the compilation fails when enabling the GDB server. Fix by setting a NULL completion (as seems the code would not use it anyway). Change-Id: I4c0df65a31bd906db704f7f4a564e7d6f065aae7 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/debug/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/debug/gdb_server.c b/misc/debug/gdb_server.c
index 096bee00d..e70d24056 100644
--- a/misc/debug/gdb_server.c
+++ b/misc/debug/gdb_server.c
@@ -2425,7 +2425,7 @@ static void init_interrupt_handling(void)
nano_fifo_init(&cmds_queue);
nano_fifo_init(&avail_queue);
uart_irq_input_hook_set(uart_console_dev, console_irq_input_hook);
- uart_register_input(&avail_queue, &cmds_queue);
+ uart_register_input(&avail_queue, &cmds_queue, NULL);
}
#else
#define init_interrupt_handling() do { } while ((0))