Browse Source

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 <peter.maydell@linaro.org>
Message-id: 1453832250-766-26-git-send-email-peter.maydell@linaro.org
Peter Maydell 9 years ago
parent
commit
282bc81efb

+ 1 - 0
hw/timer/ds1338.c

@@ -10,6 +10,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/i2c/i2c.h"
 #include "hw/i2c/i2c.h"
 
 
 /* Size of NVRAM including both the user-accessible area and the
 /* Size of NVRAM including both the user-accessible area and the

+ 1 - 0
hw/timer/etraxfs_timer.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"

+ 1 - 0
hw/timer/m48t59.c

@@ -22,6 +22,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/timer/m48t59.h"
 #include "hw/timer/m48t59.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"

+ 1 - 0
hw/timer/omap_gptimer.c

@@ -17,6 +17,7 @@
  * You should have received a copy of the GNU General Public License along
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/arm/omap.h"
 #include "hw/arm/omap.h"

+ 1 - 0
hw/timer/omap_synctimer.c

@@ -17,6 +17,7 @@
  * You should have received a copy of the GNU General Public License along
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/arm/omap.h"
 #include "hw/arm/omap.h"

+ 1 - 0
hw/timer/sh_timer.c

@@ -8,6 +8,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/sh4/sh.h"
 #include "hw/sh4/sh.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"

+ 1 - 0
hw/timer/slavio_timer.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sparc/sun4m.h"
 #include "hw/sparc/sun4m.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "hw/ptimer.h"

+ 1 - 0
hw/timer/stm32f2xx_timer.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/timer/stm32f2xx_timer.h"
 #include "hw/timer/stm32f2xx_timer.h"
 
 
 #ifndef STM_TIMER_ERR_DEBUG
 #ifndef STM_TIMER_ERR_DEBUG

+ 1 - 0
hw/timer/tusb6010.c

@@ -18,6 +18,7 @@
  * You should have received a copy of the GNU General Public License along
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qemu-common.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/usb.h"
 #include "hw/usb.h"

+ 1 - 0
hw/timer/twl92230.c

@@ -19,6 +19,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/i2c/i2c.h"
 #include "hw/i2c/i2c.h"

+ 1 - 0
hw/timer/xilinx_timer.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/ptimer.h"
 #include "hw/ptimer.h"
 #include "qemu/log.h"
 #include "qemu/log.h"