From patchwork Thu Dec 13 14:54:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 153664 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp904499ljp; Thu, 13 Dec 2018 07:03:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/UTclzZP4rdnNuHL80xdkLmEjpxE7F2it/iBNtEAQDY6uE3n2lCzCq77oPGpiHMD3nBGSWH X-Received: by 2002:ac8:2d2b:: with SMTP id n40mr23381009qta.38.1544713418116; Thu, 13 Dec 2018 07:03:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544713418; cv=none; d=google.com; s=arc-20160816; b=qfEJF3v0Q1Bluj6XYzK+PXK7mddqjUCW8brApF6IA9ep8iTFA7ySul5lSGfO/mg1QM yAgTAI6iOKsxIJkUHiG0f6AwJoVGrSn9DqtjvYcmmvNx6vFbOvD+6Oh59FV5jfFoWcuz ZB3CQGOqiaCm0HXirEBFTr1AInO4ZdRQIxxhnBmo24dreEIm108iJhuyJOEqQKB0nMOs 9MWEPqXVRmmd7CK4tEVBI7yO3NEsJnhHRRzHNKo52I7bDEy58GDTxX71Erv73OWFNz1L pD2Oppn+HXhlPag27vIIIWV8JNy4+IsJ0a2FIkxWj3L9Kc43qTts5K9wc1ih4wF9vmAh u2vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=ABR7gGbPOP4alQQN2ap7s3QKkLSLdD6fsCiStOecLPo=; b=ks1OBh9WcvWYK4OzBWwyDrhuyLhXrPGW+B7EtcC6yk4/2nDiopGspRwDlW9ThmIGB3 0yo3N6D+IN24v1JcZJ1F+QB+NB35okwVxB2SCRzrqvr500U78VkWjWStk7TXNQ4+44i5 QNSPnukoJ6ZFK8/j0Qe0fFkMcosoizvYwBZNuNa+iUloy4BV+EIehYtmfju4ScaFYxTS vhkBgs6XrfyT0HLt66JHWi6hITq0Jh8A8x4/E/EbW9etzMDNEy5lM/qJKF98PuCtLuVk J5AoQZTHqmI25vhxJqZNPZTmbj0YxIvWXsYHYjfOTAX+l5iFhhSU5QJtq6OxwzwsQ36j xHcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id a2si786683qvj.165.2018.12.13.07.03.37 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 13 Dec 2018 07:03:38 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXSWX-0003yR-EW for patch@linaro.org; Thu, 13 Dec 2018 10:03:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXSO6-000415-9s for qemu-devel@nongnu.org; Thu, 13 Dec 2018 09:54:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXSO5-00076F-Gn for qemu-devel@nongnu.org; Thu, 13 Dec 2018 09:54:54 -0500 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:53506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXSO5-0006zA-5I for qemu-devel@nongnu.org; Thu, 13 Dec 2018 09:54:53 -0500 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1gXSNy-0007FB-F6 for qemu-devel@nongnu.org; Thu, 13 Dec 2018 14:54:46 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Thu, 13 Dec 2018 14:54:09 +0000 Message-Id: <20181213145445.17935-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181213145445.17935-1-peter.maydell@linaro.org> References: <20181213145445.17935-1-peter.maydell@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:8b0:1d0::2 Subject: [Qemu-devel] [PULL 01/37] hw: arm: musicpal: drop TYPE_WM8750 in object_property_set_link() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Li Qiang The third argument of object_property_set_link() is the name of property, not related with the QOM type name, using the constant string instead. Signed-off-by: Li Qiang Reviewed-by: Philippe Mathieu-Daudé Message-id: 1542880825-2604-1-git-send-email-liq3ea@gmail.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- hw/arm/musicpal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.2 diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 9648b3af44e..726ae29394e 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -1696,7 +1696,7 @@ static void musicpal_init(MachineState *machine) dev = qdev_create(NULL, TYPE_MV88W8618_AUDIO); s = SYS_BUS_DEVICE(dev); object_property_set_link(OBJECT(dev), OBJECT(wm8750_dev), - TYPE_WM8750, NULL); + "wm8750", NULL); qdev_init_nofail(dev); sysbus_mmio_map(s, 0, MP_AUDIO_BASE); sysbus_connect_irq(s, 0, pic[MP_AUDIO_IRQ]);