]> git.proxmox.com Git - qemu.git/commitdiff
lm32_juart: Relocate and tidy header
authorAndreas Färber <afaerber@suse.de>
Wed, 24 Jul 2013 20:49:02 +0000 (22:49 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:06:27 +0000 (21:06 +0200)
Signed-off-by: Andreas Färber <afaerber@suse.de>
MAINTAINERS
hw/char/lm32_juart.c
include/hw/char/lm32_juart.h [new file with mode: 0644]
include/hw/lm32/lm32_juart.h [deleted file]
target-lm32/op_helper.c

index 93ad19d90efc3612b78cb1028d54a02426f2bd3b..82ca5fb60a4121d0082b670ea9938479ad290a01 100644 (file)
@@ -80,6 +80,7 @@ M: Michael Walle <michael@walle.cc>
 S: Maintained
 F: target-lm32/
 F: hw/lm32/
+F: hw/char/lm32_*
 
 M68K
 M: Paul Brook <paul@codesourcery.com>
index 839f3ebfe746070368a51a2ef8417526240c6f47..154511e633a6250fdecfeb8b72e244ea74cb261a 100644 (file)
@@ -22,7 +22,7 @@
 #include "trace.h"
 #include "sysemu/char.h"
 
-#include "hw/lm32/lm32_juart.h"
+#include "hw/char/lm32_juart.h"
 
 enum {
     LM32_JUART_MIN_SAVE_VERSION = 0,
diff --git a/include/hw/char/lm32_juart.h b/include/hw/char/lm32_juart.h
new file mode 100644 (file)
index 0000000..1cd3148
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef QEMU_HW_CHAR_LM32_JUART_H
+#define QEMU_HW_CHAR_LM32_JUART_H
+
+#include "hw/qdev.h"
+
+uint32_t lm32_juart_get_jtx(DeviceState *d);
+uint32_t lm32_juart_get_jrx(DeviceState *d);
+void lm32_juart_set_jtx(DeviceState *d, uint32_t jtx);
+void lm32_juart_set_jrx(DeviceState *d, uint32_t jrx);
+
+#endif /* QEMU_HW_LM32_JUART_H */
diff --git a/include/hw/lm32/lm32_juart.h b/include/hw/lm32/lm32_juart.h
deleted file mode 100644 (file)
index 67fc586..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef QEMU_HW_LM32_JUART_H
-#define QEMU_HW_LM32_JUART_H
-
-#include "qemu-common.h"
-
-uint32_t lm32_juart_get_jtx(DeviceState *d);
-uint32_t lm32_juart_get_jrx(DeviceState *d);
-void lm32_juart_set_jtx(DeviceState *d, uint32_t jtx);
-void lm32_juart_set_jrx(DeviceState *d, uint32_t jrx);
-
-#endif /* QEMU_HW_LM32_JUART_H */
index f106873ad828660c4db47176f109e250cf8c4360..2dab9f27b4d77d885ab3c733c8460bd1d7045089 100644 (file)
@@ -4,7 +4,7 @@
 #include "qemu/host-utils.h"
 
 #include "hw/lm32/lm32_pic.h"
-#include "hw/lm32/lm32_juart.h"
+#include "hw/char/lm32_juart.h"
 
 #if !defined(CONFIG_USER_ONLY)
 #define MMUSUFFIX _mmu