From patchwork Wed Sep 21 15:05:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9343699 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 43D07607D0 for ; Wed, 21 Sep 2016 15:08:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C5F9294FF for ; Wed, 21 Sep 2016 15:08:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 206F02A6F5; Wed, 21 Sep 2016 15:08:08 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 88FB5294FF for ; Wed, 21 Sep 2016 15:08: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 1bmj6F-0003QM-C5; Wed, 21 Sep 2016 15:06:15 +0000 Received: from mail-pa0-x241.google.com ([2607:f8b0:400e:c03::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmj5t-0003NL-Lb; Wed, 21 Sep 2016 15:05:57 +0000 Received: by mail-pa0-x241.google.com with SMTP id oz2so2403301pac.0; Wed, 21 Sep 2016 08:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MdUp73z5yVtr9sLAXIxkTtP/G3kMwHYI3Mtz/QTo/QQ=; b=hUJuaml2Oir7Oc4N7DTIRG5yHAgknUUQqcqaGurdofRcRUy2RKhkyuiv/2mTo3y6Ze 4qFwZ+BvrN751IwmW3CdwM6QNX6Qh0T7SUcj0k1AUXC8tbNypt2qUb9i4FA/2784Ju90 QFTpv4/rkp+o5sR47i6NZw3aDOqJhjSLXdvgGlA1gpz/i+FvXXNky4HlDfuaD4Ve/rus 2gE8HaH8HhiieMvhQIkGuntNNg3FR1PnZA9szKQ7Z1oy8SKjZaq4R/f6+3yb676tOTch o1z5bJ0G/TvDkysciYcMZyrna9AfjUaoX2tTk7sOihk70lFDJW2xKN129k1ZV73xAUtm LMew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MdUp73z5yVtr9sLAXIxkTtP/G3kMwHYI3Mtz/QTo/QQ=; b=TCJXroUVvdIJnrqEN7SNZTagl/smEm/wCK01rAcU00W4H6y+miD/hW54N9KnaEmJYh Ob3sD/rMpUvYAeeWuopD3AuY0nccefNzTD3ymDnwAop8eGv+Mpmdn2hVcxgutyTHHxcN YXtxL0nmCRoMLG92p0i69ua0XbGjxoLWFiJLvFl4JCNwitwOnCeojjBkRRCsLGEMxAA8 1m0FZtf671W0xdPuzyFnrmOXpgKvdvpvC7GRRo48y5mi+Woq3e4BlEJpU/6gbCtnfsvQ pM/37WjDvuE9l9ymRk4ap3FpcWxwP4hXaGwCYuaQejwTQvqcPa4NiBOpSIelRNBP6jOj IK1Q== X-Gm-Message-State: AE9vXwNiog/dAHnFp4tjRHHCw2GYrLbyKFHWjlRPKTx2tH7FrlcFJgoJBDCKaLMw0taxxg== X-Received: by 10.66.100.225 with SMTP id fb1mr65888561pab.4.1474470332016; Wed, 21 Sep 2016 08:05:32 -0700 (PDT) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id o5sm87407684pfb.9.2016.09.21.08.05.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Sep 2016 08:05:31 -0700 (PDT) From: Wei Yongjun To: Kishon Vijay Abraham I , Heiko Stuebner Subject: [PATCH -next] phy: rockchip-typec: fix non static symbol warnings Date: Wed, 21 Sep 2016 15:05:25 +0000 Message-Id: <1474470325-32139-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160921_080553_775188_A6E85A05 X-CRM114-Status: UNSURE ( 9.31 ) 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: linux-rockchip@lists.infradead.org, Wei Yongjun , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 From: Wei Yongjun Fixes the following sparse warnings: drivers/phy/phy-rockchip-typec.c:295:16: warning: symbol 'usb3_pll_cfg' was not declared. Should it be static? drivers/phy/phy-rockchip-typec.c:312:16: warning: symbol 'dp_pll_cfg' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/phy/phy-rockchip-typec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-rockchip-typec.c b/drivers/phy/phy-rockchip-typec.c index 7cfb0f8..555604c 100644 --- a/drivers/phy/phy-rockchip-typec.c +++ b/drivers/phy/phy-rockchip-typec.c @@ -292,7 +292,7 @@ struct phy_reg { u32 addr; }; -struct phy_reg usb3_pll_cfg[] = { +static struct phy_reg usb3_pll_cfg[] = { { 0xf0, CMN_PLL0_VCOCAL_INIT }, { 0x18, CMN_PLL0_VCOCAL_ITER }, { 0xd0, CMN_PLL0_INTDIV }, @@ -309,7 +309,7 @@ struct phy_reg usb3_pll_cfg[] = { { 0x8, CMN_DIAG_PLL0_LF_PROG }, }; -struct phy_reg dp_pll_cfg[] = { +static struct phy_reg dp_pll_cfg[] = { { 0xf0, CMN_PLL1_VCOCAL_INIT }, { 0x18, CMN_PLL1_VCOCAL_ITER }, { 0x30b9, CMN_PLL1_VCOCAL_START },