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: 16423 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D68532397A for ; Fri, 26 Apr 2013 12:18:48 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id hr11sf3174777vcb.10 for ; Fri, 26 Apr 2013 05:17:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=ABv/FfPo7Wnk+/VTMHcZLIRzR91e6EccWCOezt9R4Zo=; b=mgWtFjpZyl8e8uKUHBLZ1WAQV19GsjQa1JHZLF/6ecO2rc/pNSY7zQCXOYd+DYDOSF wGJwY5OwsOiC1RvVdvdwHM0qCb01IoZDigOuncfIKsbRFbtgkXaduiL8HYhtJasJb6L+ 0GRWjgYqurh3bSUJDZdHPuTz3eHiImG7SNXd6uWJT4PrdVcntUEPYqVIYxdvn3pcmM6j YfMS/FLgEO9MCjvpAp1NoaYKTm8rtWSkdtxflCkKPm7zU3BHlK0LKtb18I99Tgn945w5 9YcuDaVF5WAlLaMnoU1rJUt/nWq48b/GRCXfoRJcFEZe8YAkkWtRpUUACYmgPZvRJwch NBqA== X-Received: by 10.224.75.137 with SMTP id y9mr7613242qaj.3.1366978673331; Fri, 26 Apr 2013 05:17:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.63.228 with SMTP id j4ls1619448qes.80.gmail; Fri, 26 Apr 2013 05:17:53 -0700 (PDT) X-Received: by 10.52.157.194 with SMTP id wo2mr24589667vdb.30.1366978673138; Fri, 26 Apr 2013 05:17:53 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id ez9si5231348vdb.133.2013.04.26.05.17.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 05:17:53 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id ht10so81607vcb.13 for ; Fri, 26 Apr 2013 05:17:53 -0700 (PDT) X-Received: by 10.220.189.9 with SMTP id dc9mr15474014vcb.8.1366978672990; Fri, 26 Apr 2013 05:17:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp66022veb; Fri, 26 Apr 2013 05:17:52 -0700 (PDT) X-Received: by 10.204.233.81 with SMTP id jx17mr17209993bkb.52.1366978671931; Fri, 26 Apr 2013 05:17:51 -0700 (PDT) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [2a00:1450:4008:c01::234]) by mx.google.com with ESMTPS id gy5si3839608bkc.131.2013.04.26.05.17.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 05:17:51 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4008:c01::234 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4008:c01::234; Received: by mail-bk0-f52.google.com with SMTP id je9so812638bkc.11 for ; Fri, 26 Apr 2013 05:17:51 -0700 (PDT) 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Linus Walleij , Srinidhi Kasagar , Fabio Baltieri 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: ALoCoQmOX1GrCpZcFjEDm/0oWkgRqHGaX0a4SnuMgBWX6AzKK18+6lq/A52u6fdzmKdY+KXe9KCv X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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;