From nobody Sun May 10 15:07:04 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB58AC433EF for ; Mon, 2 May 2022 09:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232432AbiEBJ0r (ORCPT ); Mon, 2 May 2022 05:26:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230433AbiEBJ0h (ORCPT ); Mon, 2 May 2022 05:26:37 -0400 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAD1814090 for ; Mon, 2 May 2022 02:23:07 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hector@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 46C81419BC; Mon, 2 May 2022 09:23:04 +0000 (UTC) From: Hector Martin To: Joerg Roedel , Will Deacon Cc: Sven Peter , Alyssa Rosenzweig , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Hector Martin Subject: [PATCH] iommu: dart: Add missing module owner to ops structure Date: Mon, 2 May 2022 18:22:38 +0900 Message-Id: <20220502092238.30486-1-marcan@marcan.st> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This is required to make loading this as a module work. Signed-off-by: Hector Martin Reviewed-by: Sven Peter --- drivers/iommu/apple-dart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c index decafb07ad08..a10a73282014 100644 --- a/drivers/iommu/apple-dart.c +++ b/drivers/iommu/apple-dart.c @@ -773,6 +773,7 @@ static const struct iommu_ops apple_dart_iommu_ops =3D { .get_resv_regions =3D apple_dart_get_resv_regions, .put_resv_regions =3D generic_iommu_put_resv_regions, .pgsize_bitmap =3D -1UL, /* Restricted during dart probe */ + .owner =3D THIS_MODULE, .default_domain_ops =3D &(const struct iommu_domain_ops) { .attach_dev =3D apple_dart_attach_dev, .detach_dev =3D apple_dart_detach_dev, --=20 2.35.1