From patchwork Thu Apr 24 03:25:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manish Badarkhe X-Patchwork-Id: 342072 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 1AE6914010D for ; Thu, 24 Apr 2014 13:25:34 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6E3004B964; Thu, 24 Apr 2014 05:25:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 Tjid3N-C5J1B; Thu, 24 Apr 2014 05:25:32 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F3DC84B965; Thu, 24 Apr 2014 05:25:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 012FA4B965 for ; Thu, 24 Apr 2014 05:25:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 H0Rh7mkZT3Tl for ; Thu, 24 Apr 2014 05:25:23 +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 mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by theia.denx.de (Postfix) with ESMTPS id 344264B964 for ; Thu, 24 Apr 2014 05:25:19 +0200 (CEST) Received: by mail-pd0-f173.google.com with SMTP id p10so1113870pdj.32 for ; Wed, 23 Apr 2014 20:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=OYr4XhvzqPTLRYWnciCFrI2yV3+UxwN35UHPIMoBXUA=; b=Vq8RMaYprezCGGbWBklVUUY74zGrq9NnCVea5pPTJaJtsSAt6SpPvbkQu+XkTqnHPr ShO0ZEJyMOyxZbb99geVu4CSLm1sRE1LIYvJVvR6j4cw/XZgFvHxoNxpJnR/h2c/pAIL T4QU1+FVkCPguYx76hqoPon2jyvIoRmYgpRmwDmFs2t+DEY35RwpRelv8emt7ZIPJPrQ xRXHEfENo1dCLg3ajHDpdcy4SVQ4uchLcQdcaXC0QHydnhjuxE9VwLtsXZqG3lsTiY7N 6EKAufXT6+urhOyFzBjO+x7IgOvIEC0hrlzwISVORgP8U6NYA6zFMalHMcC7jepCR5Ry pyUQ== X-Received: by 10.68.225.74 with SMTP id ri10mr31383180pbc.116.1398309915490; Wed, 23 Apr 2014 20:25:15 -0700 (PDT) Received: from manish-HP-Pavilion-dv4-Notebook-PC.connectify ([113.193.145.65]) by mx.google.com with ESMTPSA id nh8sm5852705pbc.25.2014.04.23.20.25.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 20:25:15 -0700 (PDT) From: Manish Badarkhe To: u-boot@lists.denx.de Date: Thu, 24 Apr 2014 08:55:07 +0530 Message-Id: <1398309907-9285-1-git-send-email-badarkhe.manish@gmail.com> X-Mailer: git-send-email 1.7.10.4 Cc: twarren@nvidia.com Subject: [U-Boot] tps6586x: staticize funtions X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 Make funtions static which are locally used in file. Signed-off-by: Manish Badarkhe --- :100644 100644 704c243... d29d969... M drivers/power/tps6586x.c drivers/power/tps6586x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/tps6586x.c b/drivers/power/tps6586x.c index 704c243..d29d969 100644 --- a/drivers/power/tps6586x.c +++ b/drivers/power/tps6586x.c @@ -32,7 +32,7 @@ enum { }; #define MAX_I2C_RETRY 3 -int tps6586x_read(int reg) +static int tps6586x_read(int reg) { int i; uchar data; @@ -61,7 +61,7 @@ exit: return retval; } -int tps6586x_write(int reg, uchar *data, uint len) +static int tps6586x_write(int reg, uchar *data, uint len) { int i; int retval = -1;