From patchwork Sat Sep 26 01:35:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7272961 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0B327BEEC1 for ; Sun, 27 Sep 2015 01:51:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D8B55207A0 for ; Sun, 27 Sep 2015 01:51:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D55CE20635 for ; Sun, 27 Sep 2015 01:51:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BD06C6E3CF; Sat, 26 Sep 2015 18:51:00 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTP id 088056E030 for ; Fri, 25 Sep 2015 18:36:40 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 25 Sep 2015 18:36:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,589,1437462000"; d="scan'208";a="568705153" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 25 Sep 2015 18:36:36 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZfePZ-000Q40-MG; Sat, 26 Sep 2015 09:36:25 +0800 Date: Sat, 26 Sep 2015 09:35:38 +0800 From: kbuild test robot To: Enric Balletbo i Serra Subject: [PATCH linux-review] drm: bridge: anx78xx: pxtal_data[] can be static Message-ID: <20150926013538.GA81225@roam> References: <201509260912.Q0WHr90i%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1443209368-7135-4-git-send-email-enric.balletbo@collabora.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-Mailman-Approved-At: Sat, 26 Sep 2015 18:51:00 -0700 Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, drinkcat@chromium.org, laurent.pinchart@ideasonboard.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, sjoerd.simons@collabora.co.uk, robh+dt@kernel.org, kbuild-all@01.org, galak@codeaurora.org, nathan.chung@mediatek.com, mark.rutland@arm.com, javier@dowhile0.org, dan.carpenter@oracle.com, span@analogixsemi.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- slimport_tx_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/anx78xx/slimport_tx_drv.c b/drivers/gpu/drm/bridge/anx78xx/slimport_tx_drv.c index 7721326..9afebab 100644 --- a/drivers/gpu/drm/bridge/anx78xx/slimport_tx_drv.c +++ b/drivers/gpu/drm/bridge/anx78xx/slimport_tx_drv.c @@ -607,7 +607,7 @@ static void hdmi_rx_initialization(struct anx78xx *anx78xx) hdmi_rx_set_termination(anx78xx, 0); } -struct anx78xx_clock_data const pxtal_data[XTAL_CLK_NUM] = { +static struct anx78xx_clock_data const pxtal_data[XTAL_CLK_NUM] = { {19, 192}, {24, 240}, {25, 250}, @@ -640,7 +640,7 @@ static void xtal_clk_sel(struct anx78xx *anx78xx) ((pxtal_data[XTAL_27M].xtal_clk >> 1) - 2) << 3); } -void sp_tx_initialization(struct anx78xx *anx78xx) +static void sp_tx_initialization(struct anx78xx *anx78xx) { sp_write_reg(anx78xx, TX_P0, AUX_CTRL2, 0x30); sp_write_reg_or(anx78xx, TX_P0, AUX_CTRL2, 0x08); @@ -2185,7 +2185,7 @@ static void sp_config_audio_output(struct anx78xx *anx78xx) /******************End Audio process********************/ -void sp_initialization(struct anx78xx *anx78xx) +static void sp_initialization(struct anx78xx *anx78xx) { /* Waitting Hot plug event! */ if (!(sp.common_int_status.common_int[3] & PLUG))