From patchwork Thu Nov 22 10:00:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10693793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 718FB5A4 for ; Thu, 22 Nov 2018 10:05:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626622BA1E for ; Thu, 22 Nov 2018 10:05:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 564BA2BAB3; Thu, 22 Nov 2018 10:05:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SUBJ_OBFU_PUNCT_MANY autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id CA9992BA1E for ; Thu, 22 Nov 2018 10:05:31 +0000 (UTC) Received: from localhost ([::1]:44958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPlrV-0008QJ-EI for patchwork-qemu-devel@patchwork.kernel.org; Thu, 22 Nov 2018 05:05:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPlqi-0007ya-Nk for qemu-devel@nongnu.org; Thu, 22 Nov 2018 05:04:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPlmq-0001V6-Ia for qemu-devel@nongnu.org; Thu, 22 Nov 2018 05:00:41 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:40727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPlmn-0001OD-2f; Thu, 22 Nov 2018 05:00:37 -0500 Received: by mail-pl1-x644.google.com with SMTP id b22-v6so9033577pls.7; Thu, 22 Nov 2018 02:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=616SeAV1CdHydpFJjnS7/OlHGP7MYLRANqYP+TRoAyo=; b=Ih05lzQ6wJqgo0wcJCtHwr6by2V1aUrLVLTeCwSe18ufJf+eifzSqYftXAY62zU9KP XVTK2rE+eqLolvyBYoEiCWXfsJVJdaxuOLzUIwSRQqAHW08vjPZctl8PQJ8hUtiBNPi8 LPJNpD1VYVoHY4jA7V542fD0585QYi0P0rc9xoMeyB6DxMJR0xLvumr3kYPncUAilxBf /XzZ0aP9BCePV4p9N3qRQoQH7uarpvFxDfGwY+FwbgLh4Mca0GCOXk1WV0oNFOmIG4gH vSb74aRZhG08UIbwjoUED3PpFnRMVFb8nC5NiahbuOkpE+SYrApUOJRLfIO6XPyYNChb 0RQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=616SeAV1CdHydpFJjnS7/OlHGP7MYLRANqYP+TRoAyo=; b=nHkbp6yVpp5S2JonVLhNyBZfHNNyDN0oIZ4HfmFB2cmFa9SSSvn2FKwm1F1oZxIwVX 1lKQE5rtjp4UFtg49vDa10Ww5lpoSVLVaZgCZPOPH01tUPrU6fL2GOb0pszX2KyvGLxc LyNx5oX5S180JSAaQ8m66jcwtdGUcuLNafsYLf3MgvE08smFfC9ipcp+7qk5Iryk4LkZ Cy0cGGE2S0pgf5C/hsiagn7v4qaOd4fEOO4J9y2s4pz+t/pgeV7gxBMLLFQSrkDoNEHW oDVnTvwPZPJzTSdFSbnixGk2/Wsq+xhyWVaD40d33Jhaf0UJU3BFIOAR/7TK8/FXoUJK R42Q== X-Gm-Message-State: AA+aEWYAdyB4NCt6AH3aQ6gj30d+/58n1po0jkSbAuUy9qPsYhGFQwYd a8WFcYoPgTFZbG44ozss7rQ= X-Google-Smtp-Source: AFSGD/Xc1GWUfLkvfvfU7TxHzfWygBttBwMCzhqpJLlNsVKAtleURP45rSXnBkH8rfoPRokvGxs0oQ== X-Received: by 2002:a17:902:7402:: with SMTP id g2mr10414521pll.198.1542880835699; Thu, 22 Nov 2018 02:00:35 -0800 (PST) Received: from localhost.localdomain.localdomain ([103.129.255.252]) by smtp.gmail.com with ESMTPSA id f64sm111708638pfh.0.2018.11.22.02.00.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Nov 2018 02:00:35 -0800 (PST) From: Li Qiang To: jan.kiszka@web.de, peter.maydell@linaro.org Date: Thu, 22 Nov 2018 02:00:25 -0800 Message-Id: <1542880825-2604-1-git-send-email-liq3ea@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH] 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: , Cc: Li Qiang , qemu-arm@nongnu.org, philmd@redhat.com, qemu-devel@nongnu.org, maozhongyi@cmss.chinamobile.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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é --- hw/arm/musicpal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 9648b3af44..726ae29394 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]);