Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8780757rwp; Wed, 19 Jul 2023 15:31:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlFQAiN/yXb/Qv8BcQibxGvbTtHSQFAjJ6MsuuBJ9wnOVfwe9GKdxkO/0ab4nZGCbUaq4lUq X-Received: by 2002:a17:906:10d2:b0:98e:16b7:e038 with SMTP id v18-20020a17090610d200b0098e16b7e038mr3577698ejv.23.1689805866313; Wed, 19 Jul 2023 15:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689805866; cv=none; d=google.com; s=arc-20160816; b=UgjHZUc5lvd/oz/hUt0UpOTm0Jd75D1QO/aOK9lQaGgaloUlcp1R9lTbC38hnFjnaU Lc4f7k7KzKVpZHqUA4/3EmFr/mLOuuvgCFGceM9ShgpyLy5ao22dAhHfiPjLYzTbU+v6 MOsYhaqvCzIgvmt7dRmO/hL+7XwNwEkMzDjgkPMM8zb+iol1yU6U6bBJWAWhbCwR9yMY /PZRNWgUjKaFAsBlZiDeMpthwfuFc42ur5O5YrY9idA4pTDWDgGq6zEgkbUbFBnIzwb/ oEK6HJuSRGQRnwwo1Nh2vQjONMyR0UPa75tua9k3s7j6KY+op647wjkv7/bHJF9BNaEi u3BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+IwjlxlHW+LyjKwbZhGmbSPjjjJ61hnkvbBCUfDjZtk=; fh=8V0Uw87ANuwo5pu27CeSKKQrt5G6E5w44rpWB8WnZEs=; b=Gpf4NOLtbH646hP9a+FIai4OZguEYiguJtCcZ9zLML5Vnofet17yAn7XEzmhxpPNAa ODNadYEQI9c2xhJj6Iwky4MN/R2qlPYaV54d1UvjEdyl22EzdCwaNwi53KNefyn/3g5R jLz+7Nzm997P5aN1oSvyqnSJOSj4lVI207Gt6WaDWbZDpMvs9tkGjLwX6SuQNkVlEL9p ATV5Yuq5/hpHYJKzO5//c/RGZBb7QSFAdIUWcbqbnq/7vTMBtSDFgKlgjPBBkUnqh+ip S2pyBEltI9S9V9d1ykqR5KS/znYXnxoWayquZpxHOGWp5Vs+C8+wgTgJg9KO5wjhXoiz bgmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TxVJTnnW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb24-20020a170906edd800b0099351214a88si3761306ejb.637.2023.07.19.15.30.41; Wed, 19 Jul 2023 15:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TxVJTnnW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbjGSWU4 (ORCPT + 99 others); Wed, 19 Jul 2023 18:20:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbjGSWUy (ORCPT ); Wed, 19 Jul 2023 18:20:54 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12AE81FF9 for ; Wed, 19 Jul 2023 15:20:39 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1b8ad9eede0so1049735ad.1 for ; Wed, 19 Jul 2023 15:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689805238; x=1692397238; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+IwjlxlHW+LyjKwbZhGmbSPjjjJ61hnkvbBCUfDjZtk=; b=TxVJTnnWETGZjFcjn5k59+Yst4jpK6AajqIApsoMwWanNGNc5/nAkYo98sBAnyYbHB 68Gscz5i1kKEvbboAtcYODLyRtUOJEJ8LJV9yV4tvsgMlv+SDaoIx0PsxokSPG6bgIxN xVNHuyCoFL7Ru+JI9zDXL4HTPRGrIPpfyRewi5FmxuOxiscO+rxJv0JKNcoCa1MmicHL o2f+2HXxAgCzhCXlRGeKEnMWUo0s+FQxZ8XN+s3SO/6zIzINitRvXngnBMWZ7VI+qAuQ 5NxVvObToRQwYOgdu+G6U4O7zHvE9Z+RPJVt6sPk8lHbJIL/dF8PJK7wFVXhfc22Jbms ZMwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689805238; x=1692397238; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+IwjlxlHW+LyjKwbZhGmbSPjjjJ61hnkvbBCUfDjZtk=; b=Kp5LGQnVvtEgUT2tW03MA1DxdXHo547bAEbLp3iZVm8eHNdvaTdXYIC/HTVfbcuNq7 wiVYTWgoBqMHsorHOZO76qEBlsTWyD5zlF+5hGWlVjlv9qx07B8o1SFglmJBnz9w17G8 yiEMsQpc4GEsH85LY/ixsOtC7vQR7ukAISC2yb/GAUZQ+YrzEfDaH4ER5zxcdAv7QgEr 82VbvNWZpfHyMKWQeSukV/bhvaS+lXEu0CVhA15/XNNLwTxQESLh7VX178rBkTA2nnND ZE4rbN7vmrWfoWG6NNhY8Gyh0XBMBzVNSi+x6a4whr502EqzF/KV2jvdAQex9ZZeldET GS6A== X-Gm-Message-State: ABy/qLb3BgOWgCMcFfoZeh9zP+19kYS6iiY3NWVdcAmKTehYkw7L037s 5NWzrtSAuwGtJZxidUFqddU= X-Received: by 2002:a17:903:234c:b0:1b8:4e00:96b with SMTP id c12-20020a170903234c00b001b84e00096bmr4803311plh.9.1689805238376; Wed, 19 Jul 2023 15:20:38 -0700 (PDT) Received: from ubuntu777.domain.name (36-228-69-4.dynamic-ip.hinet.net. [36.228.69.4]) by smtp.gmail.com with ESMTPSA id i10-20020a170902eb4a00b001b03b7f8adfsm4461150pli.246.2023.07.19.15.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 15:20:38 -0700 (PDT) From: Min-Hua Chen To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Joerg Roedel , Will Deacon , Robin Murphy Cc: Min-Hua Chen , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] iommu/apple-dart: mark apple_dart_pm_ops static Date: Thu, 20 Jul 2023 06:20:32 +0800 Message-Id: <20230719222033.117513-1-minhuadotchen@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the following sprse warning: drivers/iommu/apple-dart.c:1279:1: sparse: warning: symbol 'apple_dart_pm_ops' was not declared. Should it be static? No functional change intended. Signed-off-by: Min-Hua Chen --- drivers/iommu/apple-dart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c index 8af64b57f048..2082081402d3 100644 --- a/drivers/iommu/apple-dart.c +++ b/drivers/iommu/apple-dart.c @@ -1276,7 +1276,7 @@ static __maybe_unused int apple_dart_resume(struct device *dev) return 0; } -DEFINE_SIMPLE_DEV_PM_OPS(apple_dart_pm_ops, apple_dart_suspend, apple_dart_resume); +static DEFINE_SIMPLE_DEV_PM_OPS(apple_dart_pm_ops, apple_dart_suspend, apple_dart_resume); static const struct of_device_id apple_dart_of_match[] = { { .compatible = "apple,t8103-dart", .data = &apple_dart_hw_t8103 }, -- 2.34.1