From patchwork Fri Apr 26 12:17:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 2493371 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id DB001DF230 for ; Fri, 26 Apr 2013 12:18:58 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVhba-0000RT-R3; Fri, 26 Apr 2013 12:18:23 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVhbM-0002XL-1l; Fri, 26 Apr 2013 12:18:08 +0000 Received: from mail-bk0-x22f.google.com ([2a00:1450:4008:c01::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVhb6-0002Vl-Qr for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2013 12:17:55 +0000 Received: by mail-bk0-f47.google.com with SMTP id ji1so1660808bkc.20 for ; Fri, 26 Apr 2013 05:17:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=ABv/FfPo7Wnk+/VTMHcZLIRzR91e6EccWCOezt9R4Zo=; b=baAi3YvIRMxLEj1jc5J0qXSYo54zlCubTuBg2YR7EnS/sN2jnEahkqdGP+r8HIXvvF FCdonpv8V+J2+2Dr5ZIzq+lRU1Ilaha3QW+xgLBu1Knt7dVOt6Yqf0AaSW5/obDh0162 r6ZCYrTmqqryMjS1yTuWIYR4U8IDl6/hVzsXYEDcPPIl9tMoE7FBzX41VXsBgOKwgpFa xzGRqLAPMv2Oo+xNHVhWwqJpSPPoQ5q/6Eg2Z4F5xiIxyVgJ55+g8TyUkfF5+3kKedeB qOa6x/aVldpiAM7sLPzPYO4ufWs+oc/ewMijl7GBt1hxZmRblobQpdvN4ia0gytnu8XB Yqew== X-Received: by 10.205.116.131 with SMTP id fi3mr18309504bkc.58.1366978671310; Fri, 26 Apr 2013 05:17:51 -0700 (PDT) Received: from localhost ([2a01:2003:1:1f50:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPSA id f4sm3133283bkz.14.2013.04.26.05.17.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 26 Apr 2013 05:17:50 -0700 (PDT) From: Fabio Baltieri To: Samuel Ortiz Subject: [PATCH 2/5] mfd: ab8500-sysctrl: fix sparse warning Date: Fri, 26 Apr 2013 14:17:15 +0200 Message-Id: <1366978638-967-3-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1366978638-967-1-git-send-email-fabio.baltieri@linaro.org> References: <1366978638-967-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQlObVsBz/Wo8xbGQfjPE1vPmCSE3GdsmcUpEAlemReowCS6sbB7mdacmJCFMyRKX9+wGlZu X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130426_081754_593768_7A725EF5 X-CRM114-Status: GOOD ( 10.13 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Srinidhi Kasagar , Fabio Baltieri , Linus Walleij , linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fix sparse warning: drivers/mfd/ab8500-sysctrl.c:26:6: warning: symbol 'ab8500_power_off' was not declared. Should it be static? Signed-off-by: Fabio Baltieri --- drivers/mfd/ab8500-sysctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index fbca1ce..640495e 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c @@ -23,7 +23,7 @@ static struct device *sysctrl_dev; -void ab8500_power_off(void) +static void ab8500_power_off(void) { sigset_t old; sigset_t all;