From patchwork Tue Aug 27 13:22:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 172290 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5784623ily; Tue, 27 Aug 2019 06:23:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3eQ4SOOLEgExP+fqlVj4cnL/6ihru52zmhtj57B7WuYpATufX6jIz3JH/NDdeH/lGO1P8 X-Received: by 2002:a17:902:8a87:: with SMTP id p7mr948782plo.240.1566912200019; Tue, 27 Aug 2019 06:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566912200; cv=none; d=google.com; s=arc-20160816; b=FI0mXEHfU05xlaDbo1bK8Wbtat8OueBZFEMr3QmveMkJ3NhbntB/cN/qlaOMUHeuz9 p0EftFdzGz3mLq5nfsUBQfKXp9dUtnhq9oiTDa/Hw/ua1H0f+5wBoft2onkDFELbEi2e RpT/MODO/Fyd4mMCI4xhA1189vJbz1dXyDs2gDxxZWZqgLM1J4ceETgoPhLKryOSsw3q chWQ9UGtqr3bz+NatJGHPxW0CpOYtxDgnrr+bd28a7qEqi9IljfjDJdFc1ihOIYiRiHy 1w1/ytlMJyeT0gIq7SF4lfWFhaAMa8Tio63krrDy30i8iqyM5UEvXpUjKZGz53E5sSDV Y5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=TbeTaGGWYk6FIBTAg4Q/ZaK7rk4CVve/t9kmNBDtugE=; b=UcPq/VDxs/X0PmvDxB6/0lkUuLa1qbGaRlKjtbOponmBlewkf6VO56MdGo7JG1Bf5L QYnOzH2mJyVKl41RPzSjG/GbhvC1md7soyg8J14YNdCT4fcO9tudZBNjk8GrH76GYgOJ t/cgN3R9JCMA96ZHE9MHt5nqRMIxQ3JDalCyq0xDEq0zS1bqZUkbHGbzHL+NEOiudX/R HVO0XvZwiCWmcd/SMy1c1u9ObbltxWfqphdL0rc4A5h0Q6wwBggtgMNt0a/35evBQmVG 1WeQFK6IYkC7p2/kEJxc4b3IuELBn/GpqZrOVlBrknkzmZPqNwPJCJPHNzITMFI8fwu4 PU3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wq02lPce; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si11708279pgq.267.2019.08.27.06.23.09; Tue, 27 Aug 2019 06:23:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wq02lPce; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729735AbfH0NXI (ORCPT + 28 others); Tue, 27 Aug 2019 09:23:08 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52960 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbfH0NXI (ORCPT ); Tue, 27 Aug 2019 09:23:08 -0400 Received: by mail-wm1-f67.google.com with SMTP id o4so3089246wmh.2 for ; Tue, 27 Aug 2019 06:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=TbeTaGGWYk6FIBTAg4Q/ZaK7rk4CVve/t9kmNBDtugE=; b=wq02lPcezSrbkTymEC7WovVRByb559YaQN7GHqXzcdfQgrfNed1VHwZ3WUcQ/99dXh JcS3ZK5swJ7YDJ6b2MKh5iSzcByO41XpiCN5UZbe3MMe/3ZNxmdM8GfrNYI5JvvBNThr E0R4pRM1za8jBVlzncubC3EWQcybUZWWnrPfWirNc7hfzz9jVT4b3jsDzTI6l42gnGBX skrE3ypIZnePEmp8gZCTUVXYp2bIZmit5hBhMOp7hljcllsBxr+SIHswBZ1K7PeaIjEU 67Bvw3bSLCDasCRed6dskrjNXiIlx2jPGg9IQ4rc4y3y1+iNWXSJd8LsSP+kYhtZfckw Zb8Q== 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=TbeTaGGWYk6FIBTAg4Q/ZaK7rk4CVve/t9kmNBDtugE=; b=fKS+Kw5/YmX5fCahpHEz3D+zQ1eO+jD5BMDuDb8Vsk9ODt5wX0f6o0P/A+e+P/WBU2 gTY2eiMebkjykZgcm45qNbUOSdwNAf5IZKHjugSpRbnmc2zbtKYBzygdXYQOkckYWFth ZNZEY17HSSNMMT6bjgEOExn6ZOyZl2WokDMbe5YcxLZalix4xBAXvdsbaNx4ixgs4SJm kG6cx0bhWnZxQlAZUTLP9EdeBTQ59Tv1thihZHEfDVh5JsjKOJTgjbELbnY7Wqe9+Y1n SLGPP8MPHGhLq9u/z6SPWNxCY57fnMMevE02FASaBkzQYMEAq8dzggynJF7ZFzzD9ONn VLIw== X-Gm-Message-State: APjAAAXjxlVac2R2cmly5jYbDvYxhz4FWXtoHKhctvJ3/IIU8b7NOcwO e854HrL06e8/F7kF/72+fzoS1Q== X-Received: by 2002:a1c:a008:: with SMTP id j8mr28626762wme.57.1566912186112; Tue, 27 Aug 2019 06:23:06 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.174]) by smtp.gmail.com with ESMTPSA id l62sm4678345wml.13.2019.08.27.06.23.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 06:23:05 -0700 (PDT) From: Lee Jones To: arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones Subject: [PATCH 1/1] mfd: rk808: Make PM function declaration static Date: Tue, 27 Aug 2019 14:22:56 +0100 Message-Id: <20190827132256.26807-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Avoids: ../drivers/mfd/rk808.c:771:1: warning: symbol 'rk8xx_pm_ops' \ was not declared. Should it be static? Fixes: 5752bc4373b2 ("mfd: rk808: Mark pm functions __maybe_unused") Reviewed-by: Arnd Bergmann Signed-off-by: Lee Jones --- drivers/mfd/rk808.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index 9a9e6315ba46..050478cabc95 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -768,7 +768,7 @@ static int __maybe_unused rk8xx_resume(struct device *dev) return ret; } -SIMPLE_DEV_PM_OPS(rk8xx_pm_ops, rk8xx_suspend, rk8xx_resume); +static SIMPLE_DEV_PM_OPS(rk8xx_pm_ops, rk8xx_suspend, rk8xx_resume); static struct i2c_driver rk808_i2c_driver = { .driver = {