From c4fca3843f1b4ec284e1380e128fb6c61c179ca4 Mon Sep 17 00:00:00 2001 From: Stanislav Motylkov Date: Sat, 5 Oct 2019 00:12:28 +0300 Subject: [PATCH] lpc: Fix typo in CONFIG_DEVICE_INTERRUPT constant --- hw/xbox/lpc47m157.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xbox/lpc47m157.c b/hw/xbox/lpc47m157.c index c650ec7d77..29a7840745 100644 --- a/hw/xbox/lpc47m157.c +++ b/hw/xbox/lpc47m157.c @@ -45,7 +45,7 @@ #define CONFIG_DEVICE_ACTIVATE 0x30 #define CONFIG_DEVICE_BASE_ADDRESS_HIGH 0x60 #define CONFIG_DEVICE_BASE_ADDRESS_LOW 0x61 -#define CONFIG_DEVICE_INETRRUPT 0x70 +#define CONFIG_DEVICE_INTERRUPT 0x70 // #define DEBUG #ifdef DEBUG @@ -85,7 +85,7 @@ static void update_devices(LPC47M157State *s) if (dev[CONFIG_DEVICE_ACTIVATE] && !s->serial[i].active) { uint32_t iobase = (dev[CONFIG_DEVICE_BASE_ADDRESS_HIGH] << 8) | dev[CONFIG_DEVICE_BASE_ADDRESS_LOW]; - uint32_t irq = dev[CONFIG_DEVICE_INETRRUPT]; + uint32_t irq = dev[CONFIG_DEVICE_INTERRUPT]; SerialState *ss = &s->serial[i].state; if (irq != 0) {