diff options
author | Andreas Färber <afaerber@suse.de> | 2013-07-24 22:56:36 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-07-29 21:06:28 +0200 |
commit | a0b97927e34903ed280250f90deb6d3261cdc62f (patch) | |
tree | 270fad5807e90a0e979238360610c0940edf3f71 /hw/lm32 | |
parent | 0ee10242fd5c40ef0268147b23ba225b843e2d20 (diff) |
lm32_juart: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/lm32')
-rw-r--r-- | hw/lm32/lm32.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/lm32/lm32.h b/hw/lm32/lm32.h index 236686ef2b..18aa6fdc15 100644 --- a/hw/lm32/lm32.h +++ b/hw/lm32/lm32.h @@ -1,8 +1,7 @@ #ifndef HW_LM32_H #define HW_LM32_H 1 - -#include "qemu-common.h" +#include "hw/char/lm32_juart.h" static inline DeviceState *lm32_pic_init(qemu_irq cpu_irq) { @@ -21,7 +20,7 @@ static inline DeviceState *lm32_juart_init(void) { DeviceState *dev; - dev = qdev_create(NULL, "lm32-juart"); + dev = qdev_create(NULL, TYPE_LM32_JUART); qdev_init_nofail(dev); return dev; |