diff options
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board_enable.c b/board_enable.c index df772b8d2..cee9ec503 100644 --- a/board_enable.c +++ b/board_enable.c @@ -24,6 +24,7 @@ * Contains the board specific flash enables. */ +#include <strings.h> #include <string.h> #include <stdlib.h> #include "flash.h" @@ -292,7 +293,7 @@ static uint8_t w836xx_deviceid_hwmon(uint16_t sio_port) void probe_superio_winbond(void) { - struct superio s = {}; + struct superio s = {0}; uint16_t winbond_ports[] = {WINBOND_SUPERIO_PORT1, WINBOND_SUPERIO_PORT2, 0}; uint16_t *i = winbond_ports; uint8_t model; |