From 282bc81efbb5e301a3cc010eee0635bf6d0375e5 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:18 +0000 Subject: [PATCH] hw/timer: 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 Message-id: 1453832250-766-26-git-send-email-peter.maydell@linaro.org --- hw/timer/ds1338.c | 1 + hw/timer/etraxfs_timer.c | 1 + hw/timer/m48t59.c | 1 + hw/timer/omap_gptimer.c | 1 + hw/timer/omap_synctimer.c | 1 + hw/timer/sh_timer.c | 1 + hw/timer/slavio_timer.c | 1 + hw/timer/stm32f2xx_timer.c | 1 + hw/timer/tusb6010.c | 1 + hw/timer/twl92230.c | 1 + hw/timer/xilinx_timer.c | 1 + 11 files changed, 11 insertions(+) diff --git a/hw/timer/ds1338.c b/hw/timer/ds1338.c index ec6dbeeab0..ff315613bd 100644 --- a/hw/timer/ds1338.c +++ b/hw/timer/ds1338.c @@ -10,6 +10,7 @@ * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/i2c/i2c.h" /* Size of NVRAM including both the user-accessible area and the diff --git a/hw/timer/etraxfs_timer.c b/hw/timer/etraxfs_timer.c index aee4990eb1..36d8f462c4 100644 --- a/hw/timer/etraxfs_timer.c +++ b/hw/timer/etraxfs_timer.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/timer.h" diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c index b3df8f9ec9..bbcfeb2192 100644 --- a/hw/timer/m48t59.c +++ b/hw/timer/m48t59.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/timer/m48t59.h" #include "qemu/timer.h" diff --git a/hw/timer/omap_gptimer.c b/hw/timer/omap_gptimer.c index dcf706c46e..b30342129a 100644 --- a/hw/timer/omap_gptimer.c +++ b/hw/timer/omap_gptimer.c @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" #include "hw/arm/omap.h" diff --git a/hw/timer/omap_synctimer.c b/hw/timer/omap_synctimer.c index 8e50488d17..edd8d98d57 100644 --- a/hw/timer/omap_synctimer.c +++ b/hw/timer/omap_synctimer.c @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" #include "hw/arm/omap.h" diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c index 07f0670b5d..255b2fc910 100644 --- a/hw/timer/sh_timer.c +++ b/hw/timer/sh_timer.c @@ -8,6 +8,7 @@ * This code is licensed under the GPL. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sh4/sh.h" #include "qemu/timer.h" diff --git a/hw/timer/slavio_timer.c b/hw/timer/slavio_timer.c index 45d97e6678..fb3e08bedc 100644 --- a/hw/timer/slavio_timer.c +++ b/hw/timer/slavio_timer.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sparc/sun4m.h" #include "qemu/timer.h" #include "hw/ptimer.h" diff --git a/hw/timer/stm32f2xx_timer.c b/hw/timer/stm32f2xx_timer.c index ecadf9df85..55dacbbe3b 100644 --- a/hw/timer/stm32f2xx_timer.c +++ b/hw/timer/stm32f2xx_timer.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/timer/stm32f2xx_timer.h" #ifndef STM_TIMER_ERR_DEBUG diff --git a/hw/timer/tusb6010.c b/hw/timer/tusb6010.c index 459c748e1b..9f6af90806 100644 --- a/hw/timer/tusb6010.c +++ b/hw/timer/tusb6010.c @@ -18,6 +18,7 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/timer.h" #include "hw/usb.h" diff --git a/hw/timer/twl92230.c b/hw/timer/twl92230.c index 7ded4ba2ad..1c92438b18 100644 --- a/hw/timer/twl92230.c +++ b/hw/timer/twl92230.c @@ -19,6 +19,7 @@ * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" #include "hw/i2c/i2c.h" diff --git a/hw/timer/xilinx_timer.c b/hw/timer/xilinx_timer.c index cdb3355174..2ea970dc9d 100644 --- a/hw/timer/xilinx_timer.c +++ b/hw/timer/xilinx_timer.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/ptimer.h" #include "qemu/log.h" -- 2.11.4.GIT