Received: from eggs.gnu.org ([2001:4830:134:3::10]:60127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBOWj-0007hc-0V for qemu-devel@nongnu.org; Sat, 04 Jul 2015 10:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBOWf-0007Xu-PU for qemu-devel@nongnu.org; Sat, 04 Jul 2015 10:34:44 -0400 Received: from zose-mta03.web4all.fr ([185.49.20.44]:53369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBOWd-0007VJ-Ai for qemu-devel@nongnu.org; Sat, 04 Jul 2015 10:34:41 -0400 Received: from localhost (localhost [127.0.0.1]) by zose-mta03.web4all.fr (Postfix) with ESMTP id CEEE941B68 for ; Sat, 4 Jul 2015 16:34:38 +0200 (CEST) From: Jean-Christophe Dubois Date: Sat, 4 Jul 2015 16:34:36 +0200 Message-Id: <1436020476-2275-1-git-send-email-jcd@tribudubois.net> Subject: [Qemu-devel] [PATCH v9 12/20] i.MX: Remove Qdev GPT construction helper function. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jean-Christophe Dubois Signed-off-by: Jean-Christophe Dubois --- Changes since v1: * not present on v1 Changes since v2: * not present on v2 Changes since v3: * not present on v3 Changes since v4: * not present on v4 Changes since v5: * not present on v5 Changes since v6: * not present on v6 Changes since v7: * not present on v7 Changes since v8: * remove Qdev construction helper hw/timer/imx_gpt.c | 11 ----------- include/hw/arm/imx.h | 5 ----- 2 files changed, 16 deletions(-) diff --git a/hw/timer/imx_gpt.c b/hw/timer/imx_gpt.c index f61d4e5..218607b 100644 --- a/hw/timer/imx_gpt.c +++ b/hw/timer/imx_gpt.c @@ -12,7 +12,6 @@ * */ -#include "hw/arm/imx.h" #include "hw/timer/imx_gpt.h" #include "hw/misc/imx_ccm.h" #include "qemu/main-loop.h" @@ -449,16 +448,6 @@ static void imx_gpt_realize(DeviceState *dev, Error **errp) s->timer = ptimer_init(bh); } -void imx_timerg_create(const hwaddr addr, qemu_irq irq, DeviceState *ccm) -{ - IMXGPTState *pp; - DeviceState *dev; - - dev = sysbus_create_simple(TYPE_IMX_GPT, addr, irq); - pp = IMX_GPT(dev); - pp->ccm = ccm; -} - static void imx_gpt_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); diff --git a/include/hw/arm/imx.h b/include/hw/arm/imx.h index 5073c06..b1d606a 100644 --- a/include/hw/arm/imx.h +++ b/include/hw/arm/imx.h @@ -11,9 +11,4 @@ #ifndef IMX_H #define IMX_H -void imx_timerg_create(const hwaddr addr, - qemu_irq irq, - DeviceState *ccm); - - #endif /* IMX_H */ -- 2.1.4