From patchwork Wed Oct 8 20:57:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Hofstee X-Patchwork-Id: 397777 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 749861400A0 for ; Thu, 9 Oct 2014 08:04:20 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8776CA7498; Wed, 8 Oct 2014 23:01:39 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mfQI2ZY46S3s; Wed, 8 Oct 2014 23:01:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5D873A742C; Wed, 8 Oct 2014 22:59:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 165E6A744C for ; Wed, 8 Oct 2014 22:59:34 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29hqO373L8PP for ; Wed, 8 Oct 2014 22:59:33 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from orange.myspectrum.nl (orange.myspectrum.nl [149.210.134.247]) by theia.denx.de (Postfix) with ESMTP id B2F3CA7451 for ; Wed, 8 Oct 2014 22:58:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id 958E192A16; Wed, 8 Oct 2014 22:58:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at myspectrum.nl Received: from orange.myspectrum.nl ([127.0.0.1]) by localhost (orange.myspectrum.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U2wvjIDtbT5g; Wed, 8 Oct 2014 22:58:41 +0200 (CEST) Received: from yellow (ip136-5-208-87.adsl2.static.versatel.nl [87.208.5.136]) (Authenticated sender: jeroen@myspectrum.nl) by orange.myspectrum.nl (Postfix) with ESMTPSA id B575892A18; Wed, 8 Oct 2014 22:58:30 +0200 (CEST) Received: by yellow (Postfix, from userid 1000) id 3F385754A56; Wed, 8 Oct 2014 22:58:30 +0200 (CEST) From: Jeroen Hofstee To: u-boot@lists.denx.de Date: Wed, 8 Oct 2014 22:57:45 +0200 Message-Id: <1412801889-14400-26-git-send-email-jeroen@myspectrum.nl> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1412801889-14400-1-git-send-email-jeroen@myspectrum.nl> References: <1412801889-14400-1-git-send-email-jeroen@myspectrum.nl> Cc: Jeroen Hofstee Subject: [U-Boot] [PATCH 25/49] spi: make local functions static X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Jeroen Hofstee --- drivers/power/power_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/power_spi.c b/drivers/power/power_spi.c index fb455a0..0560ea5 100644 --- a/drivers/power/power_spi.c +++ b/drivers/power/power_spi.c @@ -17,13 +17,13 @@ static struct spi_slave *slave; -void pmic_spi_free(struct spi_slave *slave) +static void pmic_spi_free(struct spi_slave *slave) { if (slave) spi_free_slave(slave); } -struct spi_slave *pmic_spi_probe(struct pmic *p) +static struct spi_slave *pmic_spi_probe(struct pmic *p) { return spi_setup_slave(p->bus, p->hw.spi.cs,