From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088AbbJALFa (ORCPT ); Thu, 1 Oct 2015 07:05:30 -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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,617,1437462000"; d="scan'208";a="572018289" 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-Type: text/plain; charset=us-ascii 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Fengguang Wu --- phy-exynos-ufs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;