From patchwork Tue Jan 26 18:17:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8125961 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 803EF9F6DA for ; Tue, 26 Jan 2016 18:29:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60A8D20256 for ; Tue, 26 Jan 2016 18:29:35 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F23892017E for ; Tue, 26 Jan 2016 18:29:33 +0000 (UTC) Received: from localhost ([::1]:45969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8Mv-0003Ng-8j for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:29:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BR-0006Mx-0E for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BO-0007Z1-I5 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:40 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BN-0007UI-Sk for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:38 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BH-0000EM-MV; Tue, 26 Jan 2016 18:17:31 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:17:17 +0000 Message-Id: <1453832250-766-25-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> References: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:8b0:1d0::1 Cc: patches@linaro.org Subject: [Qemu-devel] [PATCH 24/37] hw/misc: Clean up includes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- hw/misc/applesmc.c | 1 + hw/misc/arm_integrator_debug.c | 1 + hw/misc/arm_l2x0.c | 1 + hw/misc/arm_sysctl.c | 1 + hw/misc/cbus.c | 1 + hw/misc/eccmemctl.c | 1 + hw/misc/edu.c | 1 + hw/misc/hyperv_testdev.c | 1 + hw/misc/ivshmem.c | 3 +-- hw/misc/max111x.c | 1 + hw/misc/mst_fpga.c | 1 + hw/misc/omap_clk.c | 1 + hw/misc/omap_gpmc.c | 1 + hw/misc/omap_l4.c | 1 + hw/misc/omap_sdrc.c | 1 + hw/misc/omap_tap.c | 1 + hw/misc/pvpanic.c | 1 + hw/misc/slavio_misc.c | 1 + hw/misc/stm32f2xx_syscfg.c | 1 + hw/misc/tmp105.c | 1 + hw/misc/vmport.c | 1 + hw/misc/zynq-xadc.c | 1 + 22 files changed, 22 insertions(+), 2 deletions(-) diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c index 6bd61e7..77fab5b 100644 --- a/hw/misc/applesmc.c +++ b/hw/misc/applesmc.c @@ -30,6 +30,7 @@ * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" #include "ui/console.h" diff --git a/hw/misc/arm_integrator_debug.c b/hw/misc/arm_integrator_debug.c index 6d9dd74..902605f 100644 --- a/hw/misc/arm_integrator_debug.c +++ b/hw/misc/arm_integrator_debug.c @@ -14,6 +14,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c index 9e220c9..7e179f1 100644 --- a/hw/misc/arm_l2x0.c +++ b/hw/misc/arm_l2x0.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include "hw/sysbus.h" /* L2C-310 r3p2 */ diff --git a/hw/misc/arm_sysctl.c b/hw/misc/arm_sysctl.c index 3fad6f8..339205b 100644 --- a/hw/misc/arm_sysctl.c +++ b/hw/misc/arm_sysctl.c @@ -7,6 +7,7 @@ * This code is licensed under the GPL. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" #include "qemu/bitops.h" diff --git a/hw/misc/cbus.c b/hw/misc/cbus.c index 495d507..fafe070 100644 --- a/hw/misc/cbus.c +++ b/hw/misc/cbus.c @@ -20,6 +20,7 @@ * with this program; if not, see . */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/irq.h" #include "hw/devices.h" diff --git a/hw/misc/eccmemctl.c b/hw/misc/eccmemctl.c index 8bad6f6..a0071f3 100644 --- a/hw/misc/eccmemctl.c +++ b/hw/misc/eccmemctl.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/misc/edu.c b/hw/misc/edu.c index 43d5b18..2639c64 100644 --- a/hw/misc/edu.c +++ b/hw/misc/edu.c @@ -22,6 +22,7 @@ * DEALINGS IN THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/pci/pci.h" #include "qemu/timer.h" #include "qemu/main-loop.h" /* iothread mutex */ diff --git a/hw/misc/hyperv_testdev.c b/hw/misc/hyperv_testdev.c index d88844a..1883fd7 100644 --- a/hw/misc/hyperv_testdev.c +++ b/hw/misc/hyperv_testdev.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/qdev.h" #include "hw/isa/isa.h" diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index df585de..d5c89ae 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -16,6 +16,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i386/pc.h" #include "hw/pci/pci.h" @@ -34,8 +35,6 @@ #include "hw/misc/ivshmem.h" #include -#include -#include #define PCI_VENDOR_ID_IVSHMEM PCI_VENDOR_ID_REDHAT_QUMRANET #define PCI_DEVICE_ID_IVSHMEM 0x1110 diff --git a/hw/misc/max111x.c b/hw/misc/max111x.c index d619d61..9014f0f 100644 --- a/hw/misc/max111x.c +++ b/hw/misc/max111x.c @@ -10,6 +10,7 @@ * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/ssi/ssi.h" typedef struct { diff --git a/hw/misc/mst_fpga.c b/hw/misc/mst_fpga.c index d509079..48d7dfb 100644 --- a/hw/misc/mst_fpga.c +++ b/hw/misc/mst_fpga.c @@ -10,6 +10,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/misc/omap_clk.c b/hw/misc/omap_clk.c index 73d4f8b..19151d0 100644 --- a/hw/misc/omap_clk.c +++ b/hw/misc/omap_clk.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 "hw/hw.h" #include "hw/arm/omap.h" diff --git a/hw/misc/omap_gpmc.c b/hw/misc/omap_gpmc.c index 8960f1b..67d8e2f 100644 --- a/hw/misc/omap_gpmc.c +++ b/hw/misc/omap_gpmc.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 "hw/hw.h" #include "hw/block/flash.h" #include "hw/arm/omap.h" diff --git a/hw/misc/omap_l4.c b/hw/misc/omap_l4.c index 245ceac..88c533a 100644 --- a/hw/misc/omap_l4.c +++ b/hw/misc/omap_l4.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 "hw/arm/omap.h" diff --git a/hw/misc/omap_sdrc.c b/hw/misc/omap_sdrc.c index bca2530..dff37ec 100644 --- a/hw/misc/omap_sdrc.c +++ b/hw/misc/omap_sdrc.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 "hw/arm/omap.h" diff --git a/hw/misc/omap_tap.c b/hw/misc/omap_tap.c index 6f02bb9..e6ea8ee 100644 --- a/hw/misc/omap_tap.c +++ b/hw/misc/omap_tap.c @@ -18,6 +18,7 @@ * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/arm/omap.h" diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index 3709488..0ac1e6a 100644 --- a/hw/misc/pvpanic.c +++ b/hw/misc/pvpanic.c @@ -12,6 +12,7 @@ * */ +#include "qemu/osdep.h" #include "qapi/qmp/qobject.h" #include "qapi/qmp/qjson.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/slavio_misc.c b/hw/misc/slavio_misc.c index ec50f10..edd5de0 100644 --- a/hw/misc/slavio_misc.c +++ b/hw/misc/slavio_misc.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/misc/stm32f2xx_syscfg.c b/hw/misc/stm32f2xx_syscfg.c index 4ae4042..d0d7076 100644 --- a/hw/misc/stm32f2xx_syscfg.c +++ b/hw/misc/stm32f2xx_syscfg.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/misc/stm32f2xx_syscfg.h" #ifndef STM_SYSCFG_ERR_DEBUG diff --git a/hw/misc/tmp105.c b/hw/misc/tmp105.c index f3fe8b8..e102b40 100644 --- a/hw/misc/tmp105.c +++ b/hw/misc/tmp105.c @@ -18,6 +18,7 @@ * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "tmp105.h" diff --git a/hw/misc/vmport.c b/hw/misc/vmport.c index cd5716a..6896789 100644 --- a/hw/misc/vmport.c +++ b/hw/misc/vmport.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/hw.h" #include "hw/isa/isa.h" #include "hw/i386/pc.h" diff --git a/hw/misc/zynq-xadc.c b/hw/misc/zynq-xadc.c index d160ff2..71fbccd 100644 --- a/hw/misc/zynq-xadc.c +++ b/hw/misc/zynq-xadc.c @@ -13,6 +13,7 @@ * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/misc/zynq-xadc.h" #include "qemu/timer.h"