From patchwork Wed Aug 24 06:40:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 74545 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp156086qga; Tue, 23 Aug 2016 23:40:42 -0700 (PDT) X-Received: by 10.98.130.137 with SMTP id w131mr2622787pfd.5.1472020842805; Tue, 23 Aug 2016 23:40:42 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id x67si8082841pff.126.2016.08.23.23.40.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Aug 2016 23:40:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcRqC-0007XB-5q; Wed, 24 Aug 2016 06:39:12 +0000 Received: from conuserg-10.nifty.com ([210.131.2.77]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcRq6-0007UI-Cs for linux-arm-kernel@lists.infradead.org; Wed, 24 Aug 2016 06:39:07 +0000 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id u7O6cPJs012260; Wed, 24 Aug 2016 15:38:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com u7O6cPJs012260 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1472020706; bh=WYTEzhxOvxn8TuD3QoMl80XwXbCDMxnJFk+4XCASFkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2JyZ8MppGk0zebt+scLUJxG2Rj1GgP3Sut8rLympM4GpoWhZfGDJpkToQX8m/Fwt4 g2m6jfGh6MwD5e7NyXDdweZJ1xq6pHbix95NUmyPunLtGcPAggpyF1GF0+qzLrp9wJ 1LWpgYzWN8E1NOR+sMBHqTzh18Y0VQgwXIELK6EbwK77DWnADTZwETpqk8NO3tPQIN eeyIiilx97Etf8/MBmGDqx4QBLSvefUsYoVDXBTpaCg0IrBgLEPrTvfmzL/PLzFDvj JUeEQo8dBHbDKpK4hHSA8PHU6I02TnatiiLXCtZ6/ae8GXO0nDLZLqsY3Jlvb5XMeg E4Rkz2DIu/Epw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kernel@vger.kernel.org, Philipp Zabel Subject: [PATCH 1/2] reset: uniphier: add static qualifier to probe function Date: Wed, 24 Aug 2016 15:40:29 +0900 Message-Id: <1472020830-16059-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472020830-16059-1-git-send-email-yamada.masahiro@socionext.com> References: <1472020830-16059-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160823_233906_894218_F48D2DE4 X-CRM114-Status: UNSURE ( 8.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [210.131.2.77 listed in wl.mailspike.net] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masahiro Yamada , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org I missed this in the initial commit. Signed-off-by: Masahiro Yamada --- drivers/reset/reset-uniphier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index 9de071f..41c62af 100644 --- a/drivers/reset/reset-uniphier.c +++ b/drivers/reset/reset-uniphier.c @@ -385,7 +385,7 @@ static const struct of_device_id uniphier_reset_match[] = { }; MODULE_DEVICE_TABLE(of, uniphier_reset_match); -int uniphier_reset_probe(struct platform_device *pdev) +static int uniphier_reset_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; const struct of_device_id *match;