diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-03-03 18:08:51 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-03-03 18:08:51 +1100 |
commit | a5c2c894bb10ed563da16cbb741fde62cd2f3f51 (patch) | |
tree | 993ddf2e44dc7b5e4b906d03ef2fe61979775aaa /hw | |
parent | fcb5114c426119dedb0226137d4a3468462f979f (diff) | |
download | blackbird-skiboot-a5c2c894bb10ed563da16cbb741fde62cd2f3f51.tar.gz blackbird-skiboot-a5c2c894bb10ed563da16cbb741fde62cd2f3f51.zip |
Fixup init of struct lpc_client
Gcc 4.8 would warn:
hw/lpc-uart.c: In function 'uart_setup_os_passthrough':
hw/lpc-uart.c:428:2: error: missing initializer for field 'reset' of 'struct lpc_client' [-Werror=missing-field-initializers]
Fixes: a2940770ca6da2c58081f8207aded197e45f6cd6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/lpc-uart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/lpc-uart.c b/hw/lpc-uart.c index e536bbd9..9034fbd5 100644 --- a/hw/lpc-uart.c +++ b/hw/lpc-uart.c @@ -425,6 +425,9 @@ static void uart_setup_os_passthrough(void) char *path; static struct lpc_client uart_lpc_os_client = { + .reset = NULL, + .interrupt = NULL, + .interrupts = 0 }; dt_add_property_strings(uart_node, "status", "ok"); |