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: 9296905 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 97EDA607EE for ; Wed, 24 Aug 2016 06:41:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AE4E287E4 for ; Wed, 24 Aug 2016 06:41:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F76E28E0A; Wed, 24 Aug 2016 06:41:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2464D28D79 for ; Wed, 24 Aug 2016 06:41:06 +0000 (UTC) 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-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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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;