aboutsummaryrefslogtreecommitdiff
path: root/hw/char
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:28 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:25 +0000
commit17b7f2dbbc0638b897cc622c91a4d7261c5d676d (patch)
tree11aef539310cfacd89eadc94226284dbf3dcc64d /hw/char
parentb98ba68471177238a9082c36c8e53085f0681d82 (diff)
arm devices: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-36-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/char')
-rw-r--r--hw/char/omap_uart.c1
-rw-r--r--hw/char/stm32f2xx_usart.c1
-rw-r--r--hw/char/xilinx_uartlite.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/hw/char/omap_uart.c b/hw/char/omap_uart.c
index 278ce36cb0..415bec5fac 100644
--- a/hw/char/omap_uart.c
+++ b/hw/char/omap_uart.c
@@ -17,6 +17,7 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "sysemu/char.h"
#include "hw/hw.h"
#include "hw/arm/omap.h"
diff --git a/hw/char/stm32f2xx_usart.c b/hw/char/stm32f2xx_usart.c
index c9d3a1be77..a94d61cebc 100644
--- a/hw/char/stm32f2xx_usart.c
+++ b/hw/char/stm32f2xx_usart.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "hw/char/stm32f2xx_usart.h"
#ifndef STM_USART_ERR_DEBUG
diff --git a/hw/char/xilinx_uartlite.c b/hw/char/xilinx_uartlite.c
index ef883a8988..911af4a0d7 100644
--- a/hw/char/xilinx_uartlite.c
+++ b/hw/char/xilinx_uartlite.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "hw/sysbus.h"
#include "sysemu/char.h"