From patchwork Fri Jan 13 20:01:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 642051 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp397886pvb; Fri, 13 Jan 2023 12:03:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXtXx7xGPXKc8TKG5xi3q+aTHXFoyEbqh2uogye/PJ2WBUnHmyVb7AxOQvJNwG+iT/IRszl2 X-Received: by 2002:ad4:4685:0:b0:531:aa15:abd1 with SMTP id pl5-20020ad44685000000b00531aa15abd1mr12909640qvb.51.1673640234396; Fri, 13 Jan 2023 12:03:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673640234; cv=none; d=google.com; s=arc-20160816; b=e7nMjjbes3ZiIc8yp/88vMarPw8B5i2LrG1ZahVmUjugtNo7Yz0i/7EYmNJLVT8s79 G5JqpSBBLrRn5SHuHEvFqoZ1UXrCdP2mKXV2avAUtTvtwmlmIkluetdMMp3wRlVZAJLk Q3R5J5PhS8L9ZMPmR893N9A7P9vCWqwVNT3uY2ZYxLNvMfr5iPQOFnOStF+xniXOW/zp vdPjPerrQYqqvipyirI9Zj9dYcXKw/pBgE6Apgmn9bMf2UywcvTVwrYF5XWZchx6LcCW j2jZDqXyBMzZ2Wo50L3eZELn5kyK0IymlZnSlA38Q4KFPCpJ1Ogp+dPZNXAPcva3x836 rEtA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cfx0zFqCbh87Y8xDP2juuUaDdoqJVp8e6EOhMeHV/Uk=; b=yfHvHgIXoamF+4NBu5ql6KgyYFgneI7Gh+EjubUACOHJ/j47p+Mjo8FTe9grZrWbv9 XTRICDFUVk8LPh+z1ePReX2KJnawUp25Smx55d3jlvPR/D73ShHD0UVA/X4UJqm3Ot2i P+lYBuF4FULXO0cC+4UKGr+kx0QHNQAqTah/iLCz0ERDtMXTmivdvcBbiAlTmWwLKJjh I2/TYaiqNiR+QNyfUWT81DS+Io4hmTDKh9C1SW7muJhLLQivvJFccaaLDTqekxcnZlhs c7bsgeV4AMpElIOxuBXK815BWb9JxCFkIPXusv3AOtL+OD4njvxZWBglDX6jr+t8lt+2 qoZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yd4VADnG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6-20020ad45b86000000b004bbe7186fa2si12170267qvp.296.2023.01.13.12.03.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jan 2023 12:03:54 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yd4VADnG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGQFd-0003fG-9V; Fri, 13 Jan 2023 15:02:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGQFW-0003bs-D8 for qemu-devel@nongnu.org; Fri, 13 Jan 2023 15:02:03 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGQFT-0006nf-Ud for qemu-devel@nongnu.org; Fri, 13 Jan 2023 15:02:02 -0500 Received: by mail-wr1-x434.google.com with SMTP id t5so17638911wrq.1 for ; Fri, 13 Jan 2023 12:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cfx0zFqCbh87Y8xDP2juuUaDdoqJVp8e6EOhMeHV/Uk=; b=yd4VADnGyYvVFjVhslN7ei4pR2/ws5LjuJs2oC+/TPQwbLiF5yqCT2x52JRaKi90YM vzWOlm0PglcWAc/1dFqVVsE/tFZXNvTRdIC9VUdoKdGJdVvRF7UPN3BXgTpBcjkQUKYi tFSJNfvsCbUXwyCgKriCu4ECgcVSgJjiOB6hGx5VAmp8tQptqZLHzssIXpf3ZyTSmuFA uIcPRyUBULU5vZqBRLckMXZ61riXRDVoHC+BBuBGDzSU07w0OXq8ug/Se6CcxNpUn+CD pGdnd/uQuvQ78L5358ClrXKo/lq3pyDDrMKZw3cv/pbQ80KkD3iTlHFZ5AF+Tpu+tdtW rwvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cfx0zFqCbh87Y8xDP2juuUaDdoqJVp8e6EOhMeHV/Uk=; b=XMmJmYNlczSbLfDO0U9EieEY0zFpKWqAhI20yGzIZWwG37C/v+uKuDKgJZemCRMYuz X1SFNZaH6ZOH/q/oS1sfl8484kZg1nMg7Umzouv3t7WDPtUsf4grHN9KWnp/69woCV5E BRvvmLomHQQNKPJhu7kdSP4DX+/fdWr3aTiKldw4xCkO7pZsHn1l8BqOrez4aV10frWF 9xd5wnsi92WVKXQlWhLuOtRu57Fg4EjNsOVchZHRWL+1VeG4Dvw+Ee+52yRgh3vFE829 LrsHyPNY1x6o2nxhgEdXkJ1L0nepjlYNmxcDnNSeoH023kqLUDbqq2diwxRBcbbxqbJE +VLw== X-Gm-Message-State: AFqh2kodxCUmlRymtHM19J6TmSILKQR5i6RQWG1xRm5ZHSligLL7+8/7 GsdrsO0GpAV7CYeFGRAts/zyGQmganpMHXVr X-Received: by 2002:a5d:530f:0:b0:2bb:dd87:3485 with SMTP id e15-20020a5d530f000000b002bbdd873485mr15258163wrv.30.1673640118403; Fri, 13 Jan 2023 12:01:58 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id d14-20020adffbce000000b002bddd75a83fsm2591341wrs.8.2023.01.13.12.01.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 13 Jan 2023 12:01:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , qemu-arm@nongnu.org, Peter Maydell , qemu-ppc@nongnu.org, "Edgar E. Iglesias" , qemu-trivial@nongnu.org, Alistair Francis , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 3/4] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() Date: Fri, 13 Jan 2023 21:01:37 +0100 Message-Id: <20230113200138.52869-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230113200138.52869-1-philmd@linaro.org> References: <20230113200138.52869-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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-bounces+patch=linaro.org@nongnu.org Missed during automatic conversion from commit 8063396bf3 ("Use OBJECT_DECLARE_SIMPLE_TYPE when possible"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis --- include/hw/or-irq.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/hw/or-irq.h b/include/hw/or-irq.h index f2f0a27381..131abc2e0c 100644 --- a/include/hw/or-irq.h +++ b/include/hw/or-irq.h @@ -37,8 +37,7 @@ typedef struct OrIRQState qemu_or_irq; -DECLARE_INSTANCE_CHECKER(qemu_or_irq, OR_IRQ, - TYPE_OR_IRQ) +OBJECT_DECLARE_SIMPLE_TYPE(OrIRQState, OR_IRQ) struct OrIRQState { DeviceState parent_obj;