From patchwork Mon Sep 1 18:09:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 36417 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 61DE72032B for ; Mon, 1 Sep 2014 18:10:34 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id w7sf19584556qcr.11 for ; Mon, 01 Sep 2014 11:10:34 -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=o8af9XpA069xcAxKSoec9XT2UcvXQbxs+FnHI706qcU=; b=dJx0f0sMhuac4SXIyMMNaXg/iSARod8UVNCl2Fva/IEQj8klGUVnn5O9AWvHMaPPlD 43GEHJni9RsnLgSZSNCBxW9W/fOdmLDeJ2K7LaBHCwrUwpcE2hBSlgF4OcH0UeuXf25Z TKocij+ipEgwA9ZZiH+pHYhQCBZXSRILqw+GNS0REFtDKQT2EixmAZake5X+0Swj+703 4u0hLFHSzT8PMcP1YmIs4kqgttDyHMVjL/Is9aNKyVpjUbR8s1+14tuy9wbio8aDndat b0zWtzaFeA9WwFKmohcFKuIehOI2nebds7l+dhfid0/OFt8oscRNTNSyyhQsmlYAZX/z H4BQ== X-Gm-Message-State: ALoCoQkAhzm9TCCSoFy7hHGrkSxoNKtvhrGGLI54HWXHzSw+4vRPT9Kq5pI8Ov2TWLIdz+s8hs5f X-Received: by 10.52.1.233 with SMTP id 9mr16477788vdp.5.1409595034272; Mon, 01 Sep 2014 11:10:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.100 with SMTP id l91ls2016634qge.69.gmail; Mon, 01 Sep 2014 11:10:34 -0700 (PDT) X-Received: by 10.221.6.201 with SMTP id ol9mr26553327vcb.2.1409595034184; Mon, 01 Sep 2014 11:10:34 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id xm1si1092512vdc.62.2014.09.01.11.10.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Sep 2014 11:10:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id im17so5828562vcb.18 for ; Mon, 01 Sep 2014 11:10:34 -0700 (PDT) X-Received: by 10.220.167.9 with SMTP id o9mr26716535vcy.8.1409595034112; Mon, 01 Sep 2014 11:10:34 -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.45.67 with SMTP id uj3csp421385vcb; Mon, 1 Sep 2014 11:10:33 -0700 (PDT) X-Received: by 10.68.222.136 with SMTP id qm8mr32854047pbc.92.1409595032891; Mon, 01 Sep 2014 11:10:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ef7si2466605pac.71.2014.09.01.11.10.32 for ; Mon, 01 Sep 2014 11:10:32 -0700 (PDT) Received-SPF: none (google.com: linux-omap-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 S1754731AbaIASKb (ORCPT + 5 others); Mon, 1 Sep 2014 14:10:31 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:44856 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754717AbaIASKa (ORCPT ); Mon, 1 Sep 2014 14:10:30 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s81IA1Rw007342; Mon, 1 Sep 2014 13:10:01 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s81IA00S008194; Mon, 1 Sep 2014 13:10:01 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Mon, 1 Sep 2014 13:10:01 -0500 Received: from sokoban.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s81I9JlL012145; Mon, 1 Sep 2014 13:09:59 -0500 From: Tero Kristo To: , , CC: Subject: [PATCH 22/26] ARM: OMAP4: PRM: make omap4_prm_read/write_inst_reg calls static Date: Mon, 1 Sep 2014 21:09:11 +0300 Message-ID: <1409594955-1476-23-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409594955-1476-1-git-send-email-t-kristo@ti.com> References: <1409594955-1476-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: t-kristo@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.173 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: , These are not (and should not be) used by anybody outside the PRM driver itself. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/prm44xx.c | 6 +++--- arch/arm/mach-omap2/prm44xx_54xx.h | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index d357ca9..15b4646 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c @@ -80,19 +80,19 @@ static struct prm_reset_src_map omap44xx_prm_reset_src_map[] = { /* PRM low-level functions */ /* Read a register in a CM/PRM instance in the PRM module */ -u32 omap4_prm_read_inst_reg(s16 inst, u16 reg) +static u32 omap4_prm_read_inst_reg(s16 inst, u16 reg) { return readl_relaxed(prm_base + inst + reg); } /* Write into a register in a CM/PRM instance in the PRM module */ -void omap4_prm_write_inst_reg(u32 val, s16 inst, u16 reg) +static void omap4_prm_write_inst_reg(u32 val, s16 inst, u16 reg) { writel_relaxed(val, prm_base + inst + reg); } /* Read-modify-write a register in a PRM module. Caller must lock */ -u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) +static u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) { u32 v; diff --git a/arch/arm/mach-omap2/prm44xx_54xx.h b/arch/arm/mach-omap2/prm44xx_54xx.h index 8d95aa5..96477e7 100644 --- a/arch/arm/mach-omap2/prm44xx_54xx.h +++ b/arch/arm/mach-omap2/prm44xx_54xx.h @@ -26,10 +26,6 @@ /* Function prototypes */ #ifndef __ASSEMBLER__ -extern u32 omap4_prm_read_inst_reg(s16 inst, u16 idx); -extern void omap4_prm_write_inst_reg(u32 val, s16 inst, u16 idx); -extern u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx); - /* OMAP4/OMAP5-specific VP functions */ u32 omap4_prm_vp_check_txdone(u8 vp_id); void omap4_prm_vp_clear_txdone(u8 vp_id);