From patchwork Tue Jul 22 10:56:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 34062 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E636820540 for ; Tue, 22 Jul 2014 11:03:57 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id m1sf48676963oag.3 for ; Tue, 22 Jul 2014 04:03:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=r3HD2xbfPSDq82yh1oeB0PfLnIJMBP3wjq9nL5kfFIQ=; b=OWoF5aWDn0RuAetySg4mqOw5KwOmcVXqdxvgf2RhGCR65FvaWRxUsBe6d5rcEGamWg hUu1EoZpFzImPyAOnE7B83E3AhzeePG3TB71rF1YrXXRGMsb4RQelZan9cZICE803BBR vez7CFxdvCFdTV9paEPx2QsYl9BR7dHG/hfoKA+auu17OSWwUXnlTYe5vwIFv2pnSlqR if427eB9tRvGNNDmR1VDWC9HaiqjuCqm0W2jNMVwH5rSFRYoN/IOr9nAJO1MbHxhmWav LtEayIXFFLIFQ/JRkcK+OwOy6K+ynSOYHq4hQ0TKLG6KLNGeN4OvQmKlxTb6Zwi/+wXx GwHw== X-Gm-Message-State: ALoCoQmDmQGJFtL7ucL5BcTjUWh0BI9OGWbWXs7v/qNhYkV0UXdWeni+U8ytF7rFxiTL93rrt57L X-Received: by 10.182.70.74 with SMTP id k10mr15957391obu.34.1406027037458; Tue, 22 Jul 2014 04:03:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.50.29.18 with SMTP id f18ls2245709igh.36.gmail; Tue, 22 Jul 2014 04:03:57 -0700 (PDT) X-Received: by 10.70.38.203 with SMTP id i11mr185317pdk.162.1406027037243; Tue, 22 Jul 2014 04:03:57 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id l7si67073vel.22.2014.07.22.04.03.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:03:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so14686045vcb.1 for ; Tue, 22 Jul 2014 04:03:57 -0700 (PDT) X-Received: by 10.52.244.81 with SMTP id xe17mr32660584vdc.24.1406027037116; Tue, 22 Jul 2014 04:03:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp186088vcb; Tue, 22 Jul 2014 04:03:56 -0700 (PDT) X-Received: by 10.69.3.67 with SMTP id bu3mr21123216pbd.34.1406027035972; Tue, 22 Jul 2014 04:03:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si8511pdk.446.2014.07.22.04.03.55 for ; Tue, 22 Jul 2014 04:03:55 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755411AbaGVLDx (ORCPT + 12 others); Tue, 22 Jul 2014 07:03:53 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:56760 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754175AbaGVK5R (ORCPT ); Tue, 22 Jul 2014 06:57:17 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6MAvHe7005523; Tue, 22 Jul 2014 05:57:17 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6MAvHJG018552; Tue, 22 Jul 2014 05:57:17 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Tue, 22 Jul 2014 05:57:16 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6MAv7qi027221; Tue, 22 Jul 2014 05:57:15 -0500 From: Kishon Vijay Abraham I To: CC: , Subject: [PATCH 05/28] phy: exynos5-usbdrd: Make local functions static Date: Tue, 22 Jul 2014 16:26:28 +0530 Message-ID: <1406026611-30493-6-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1406026611-30493-1-git-send-email-kishon@ti.com> References: <1406026611-30493-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Jingoo Han Make local functions static, because these are used only in this file. Signed-off-by: Jingoo Han Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-exynos5-usbdrd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c index 76d862b..205159d 100644 --- a/drivers/phy/phy-exynos5-usbdrd.c +++ b/drivers/phy/phy-exynos5-usbdrd.c @@ -506,7 +506,7 @@ static struct phy_ops exynos5_usbdrd_phy_ops = { .owner = THIS_MODULE, }; -const struct exynos5_usbdrd_phy_config phy_cfg_exynos5[] = { +static const struct exynos5_usbdrd_phy_config phy_cfg_exynos5[] = { { .id = EXYNOS5_DRDPHY_UTMI, .phy_isol = exynos5_usbdrd_phy_isol, @@ -521,13 +521,13 @@ const struct exynos5_usbdrd_phy_config phy_cfg_exynos5[] = { }, }; -const struct exynos5_usbdrd_phy_drvdata exynos5420_usbdrd_phy = { +static const struct exynos5_usbdrd_phy_drvdata exynos5420_usbdrd_phy = { .phy_cfg = phy_cfg_exynos5, .pmu_offset_usbdrd0_phy = EXYNOS5_USBDRD_PHY_CONTROL, .pmu_offset_usbdrd1_phy = EXYNOS5420_USBDRD1_PHY_CONTROL, }; -const struct exynos5_usbdrd_phy_drvdata exynos5250_usbdrd_phy = { +static const struct exynos5_usbdrd_phy_drvdata exynos5250_usbdrd_phy = { .phy_cfg = phy_cfg_exynos5, .pmu_offset_usbdrd0_phy = EXYNOS5_USBDRD_PHY_CONTROL, };