Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2004309rwd; Fri, 9 Jun 2023 05:30:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ77ofo9GnMRD+KO4jCEBOUcc/335BRC1MnUwqwv7QYX4sTriUh2l1ohmlRCP7Hb7GVxMmVi X-Received: by 2002:a05:6a20:2445:b0:114:fc15:de03 with SMTP id t5-20020a056a20244500b00114fc15de03mr1445116pzc.37.1686313845951; Fri, 09 Jun 2023 05:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686313845; cv=none; d=google.com; s=arc-20160816; b=Z7STUXPSz4wObp3EpiJr/b8gUuUKT9Rk2Z+m90iOLqSNmjEsppQCUjUVNReHkQtDw2 f+nVhEabBLIpGCfTEftxrNk0BcuJFkm6xSS0siuQvYJay84CNNK9yeUPCf+XJSEsvGBW Olf0qANLKo6qf0LQ55GSg0E2uDQMT+0w2kQjFTnJpJ41u75Mo3I2bave76sLn+K9wg7S BcH41g3KwpNRjZBSb7Wn08g3fRVp6AS3VPSvriArP6ARg8iXrKYRbIYGuEecWdhf5YkU kh/Cke0+16B1hKt03StIrzy6BJHO59eWMngFvLEAnGF4nQuyQa4pf04DpIItj05uLIFT WhOA== 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=QqQU8hBbMaX7r0MJDWINdS/Rh5+kzN+O80WlHx+3uhw=; b=x//VbZqqO5AOhriqoc+ohfld2jpYjrHA0ZQ7usPeAVFzNXGltB8sDl+qY9Y2aUXLTj p5E2l7gl8tAKU+hlHpmXoQ0k06vgE9pI+UJaICTltNccpniaq0yWA9c4RlBojAJt51X9 xBCM6BtwOPbAviHjGpjJps26bGi95Uci8Oxd+J+yetvLXfdKLhKV5ANOzDkzRUYl0knQ MLmcOwcU6vqfVt2AGTWzZwW69Aj2bvfluzmGmYnFAHI1IQSnUZaN8LOtTczHvugptj/x 7LCtOiwHCOoCX9IOuQCcq/y892RsVEuodR9MnLaGfVoLWeSOpDDOHctkOXTICb2xOmg8 aD2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="Y4Z/Or/w"; 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 s11-20020aa78bcb000000b00660c0e2d5a7si2345146pfd.338.2023.06.09.05.30.33; Fri, 09 Jun 2023 05:30:45 -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="Y4Z/Or/w"; 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 S240307AbjFIMRC (ORCPT + 99 others); Fri, 9 Jun 2023 08:17:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240220AbjFIMQ4 (ORCPT ); Fri, 9 Jun 2023 08:16:56 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BD2E50; Fri, 9 Jun 2023 05:16:54 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-65299178ac5so1793986b3a.1; Fri, 09 Jun 2023 05:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686313013; x=1688905013; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QqQU8hBbMaX7r0MJDWINdS/Rh5+kzN+O80WlHx+3uhw=; b=Y4Z/Or/w7hgCrB3EhRZDTrmacoc0teToTfI+bk4o+uZKFxCkQW2fMUPVQMjB9mJJ8b 5cMlOzHUMlYWyfgnZNWT8yMR48IYofi7aghSNAJMgB/8pGSGjjyqd56M4f1i+DYi6SuH a3ENz9n5Byo5V0NxxyAVu5ScaPAZpI0mwEoIAHONHPCQx18cTxOzIg7+3rOdNeV0WojD yYjyqRnQ6UuJHwcggjlDSS0K9BrJiHRfJzqyJBjr8ECRQvpEW3KFtBEgV0BcBwQaT43a s/pJp/0aNmI2Y61geRZj2wdLQcqI4ZC25lLq1qcJiQ+NTvkIwZhQBhSuBklKQDDmUczn EEUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686313013; x=1688905013; 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=QqQU8hBbMaX7r0MJDWINdS/Rh5+kzN+O80WlHx+3uhw=; b=OjUkSD0ISiAAkqCU5CocuzZxzQkfOYBfeUvq6+wMP/RImjcMrF3AxpzsCLQohAo4Nf hBF5EvYztSiThj6NgGKBUkjRP9vFBnWiMvXerNHfOYmy02FtccEv92zQMAJ4gsjqR2vN qvEfZteXmhHk62VaArVSW97+rh+VuhQZWMR0kaFa537peEnG2SK6SaftmfTavVVGp9zf btPyp9TCPYfqXwW9lcark7O91mULZjbwJCoFAOaQU9vxF4EJZ/Gx3TgVhONuInJ7YEp4 9kVLG43zkBYNzAWxaCyMSSJOsFGeluUzi63crx8vmXXqemvI+vo/d12n0+yKZNeC+67c mMLw== X-Gm-Message-State: AC+VfDwgACcJ8P496Xy3hnAIaNF0CDoemzq/uqlxEsp09IFSIv/0xY04 lcvTbo79aKzIF5PpGY3xAPc= X-Received: by 2002:a05:6a21:680d:b0:100:3964:6cb with SMTP id wr13-20020a056a21680d00b00100396406cbmr1088135pzb.40.1686313013522; Fri, 09 Jun 2023 05:16:53 -0700 (PDT) Received: from ubuntu777.domain.name (36-228-73-73.dynamic-ip.hinet.net. [36.228.73.73]) by smtp.gmail.com with ESMTPSA id w15-20020aa7858f000000b0064ca1fa8442sm2640223pfn.178.2023.06.09.05.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 05:16:53 -0700 (PDT) From: Min-Hua Chen To: Keerthy , Linus Walleij , Bartosz Golaszewski Cc: Min-Hua Chen , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: davinci: make davinci_gpio_dev_pm_ops static Date: Fri, 9 Jun 2023 20:16:48 +0800 Message-Id: <20230609121649.88147-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_NONE,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 warnings: drivers/gpio/gpio-davinci.c:695:1: sparse: warning: symbol 'davinci_gpio_dev_pm_ops' was not declared. Should it be static? No functional change intended. Signed-off-by: Min-Hua Chen --- drivers/gpio/gpio-davinci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index aaaf61dc2632..1aed3ace0240 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -692,7 +692,7 @@ static int davinci_gpio_resume(struct device *dev) return 0; } -DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops, davinci_gpio_suspend, +static DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops, davinci_gpio_suspend, davinci_gpio_resume); static const struct of_device_id davinci_gpio_ids[] = { -- 2.34.1