From patchwork Mon Jun 24 07:07:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Crosthwaite X-Patchwork-Id: 253682 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D43202C061C for ; Mon, 24 Jun 2013 17:14:20 +1000 (EST) Received: from localhost ([::1]:37499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur0yf-0005EH-Jh for incoming@patchwork.ozlabs.org; Mon, 24 Jun 2013 03:14:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur0yB-00058Z-DW for qemu-devel@nongnu.org; Mon, 24 Jun 2013 03:13:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ur0yA-0001OP-CT for qemu-devel@nongnu.org; Mon, 24 Jun 2013 03:13:47 -0400 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:62276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur0yA-0001Lk-69 for qemu-devel@nongnu.org; Mon, 24 Jun 2013 03:13:46 -0400 Received: by mail-pa0-f52.google.com with SMTP id kq13so10522506pab.25 for ; Mon, 24 Jun 2013 00:13:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=eqx8/g8COavgx+5/Q6To6EP7KSRKraFMJPbVbb01Q+M=; b=D5ZG34AMfnTRpYg9gnSRNCheoioUhlhcbc86hm6rIC4C1gbtQP3jcm45G0r1GgjZwh pokxRcYsXy+T2ITDOtPWp+bbK3B0cXo95kbxcMrl/mztAiap3WqwHzcr/U6lCbrvMT5W O4zBSq2Ltkf2MDfRWc3WF5DXtflyUmf57W5BdcSJQ8USfUz65h/0flAFvKIWTmr2hQsB nIJEiR3Oi1cvLQL7wwnMUA/3lmg815l85226aQa98Yd4qIxcrSzPtQYBxD02BB2oFGrF rnuLa9D3/cQhlGTaAOiysxlMbtDiKN3a27nT6imdsY/kCk4T0A41MAw573knXQ/KRN0f bTmA== X-Received: by 10.68.244.73 with SMTP id xe9mr22836281pbc.119.1372058025489; Mon, 24 Jun 2013 00:13:45 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id fl2sm18436293pab.23.2013.06.24.00.13.40 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 24 Jun 2013 00:13:44 -0700 (PDT) From: peter.crosthwaite@xilinx.com To: qemu-devel@nongnu.org Date: Mon, 24 Jun 2013 17:07:42 +1000 Message-Id: <56b7979493b49eaeda709ed29a187b7e3a4aee09.1372055322.git.peter.crosthwaite@xilinx.com> X-Mailer: git-send-email 1.8.3.rc1.44.gb387c77.dirty In-Reply-To: References: X-Gm-Message-State: ALoCoQnemhbPyUV9yeKWk0GyLQ26woWDvFJZcnIzts3fwGw8z6UGE0yT3q2SiVZjGj2lSSi2EQqo X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::234 Cc: pbonzini@redhat.com, afaerber@suse.de, mst@redhat.com Subject: [Qemu-devel] [PATCH v2 24/30] watchdog/wdt_i6300esb: substitute ->qdev casts with DEVICE() 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Peter Crosthwaite Signed-off-by: Peter Crosthwaite --- hw/watchdog/wdt_i6300esb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/watchdog/wdt_i6300esb.c b/hw/watchdog/wdt_i6300esb.c index 05af0b1..93077bb 100644 --- a/hw/watchdog/wdt_i6300esb.c +++ b/hw/watchdog/wdt_i6300esb.c @@ -195,7 +195,7 @@ static void i6300esb_timer_expired(void *vp) if (d->reboot_enabled) { d->previous_reboot_flag = 1; watchdog_perform_action(); /* This reboots, exits, etc */ - i6300esb_reset(&d->dev.qdev); + i6300esb_reset(DEVICE(d)); } /* In "free running mode" we start stage 1 again. */