From patchwork Thu Oct 1 11:04:30 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: 7307531 Return-Path: X-Original-To: patchwork-linux-scsi@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 50F5CBEEA4 for ; Thu, 1 Oct 2015 11:05:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 75BDF207B5 for ; Thu, 1 Oct 2015 11:05:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B29E4207C5 for ; Thu, 1 Oct 2015 11:05:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752698AbbJALFX (ORCPT ); Thu, 1 Oct 2015 07:05:23 -0400 Received: from mga01.intel.com ([192.55.52.88]:60842 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751972AbbJALFW (ORCPT ); Thu, 1 Oct 2015 07:05:22 -0400 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 01 Oct 2015 04:05:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,617,1437462000"; d="scan'208";a="572018289" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 01 Oct 2015 04:05:20 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Zhbfg-000IX6-SE; Thu, 01 Oct 2015 19:05:08 +0800 Date: Thu, 1 Oct 2015 19:04:30 +0800 From: kbuild test robot To: Alim Akhtar Cc: kbuild-all@01.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, JBottomley@odin.com, vinholikatti@gmail.com, amit.daniel@samsung.com, essuuj@gmail.com, devicetree@vger.kernel.org, Kishon Vijay Abraham I Subject: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static Message-ID: <20151001110430.GA12682@athens> References: <201510011920.tppZbk0e%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1443686970-28104-3-git-send-email-alim.akhtar@samsung.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 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 --- phy-exynos-ufs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/phy/phy-exynos-ufs.c b/drivers/phy/phy-exynos-ufs.c index 343fcaf..835ee78 100644 --- a/drivers/phy/phy-exynos-ufs.c +++ b/drivers/phy/phy-exynos-ufs.c @@ -66,7 +66,7 @@ static bool match_cfg_to_pwr_mode(u8 desc, u8 required_pwr) return false; } -int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag, u8 pwr) +static int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag, u8 pwr) { struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy); struct exynos_ufs_phy_cfg **cfgs = ufs_phy->cfg; @@ -93,14 +93,14 @@ out: return 0; } -void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt) +static void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt) { struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy); ufs_phy->lane_cnt = lane_cnt; } -int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy) +static int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy) { struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy); const unsigned int timeout_us = 100000;