From patchwork Tue Jul 10 07:02:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9917 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C2AF323E3D for ; Tue, 10 Jul 2012 07:02:39 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 8F865A183E0 for ; Tue, 10 Jul 2012 07:02:39 +0000 (UTC) Received: by ggnf1 with SMTP id f1so11714450ggn.11 for ; Tue, 10 Jul 2012 00:02:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=Hbx7vOFyIOviY1TBpSgtKcdDxnF/urOGH9Fpj4We9YM=; b=kBWNTD9iK0+dJtFIirk9MGdHqrW2oVOmyRY51I2IARzfTyucOI4jOIqWw/ASogbTPt MNzc1ScabFYIup43nOoWa/E528GadvNbUMKiISsJAgKuSmlaY48f+Dx4yjsV2UlYnSkO URsz17LHWkQJZbqs3bUQEyhxxhuhul32kjgAX1qw7GgKgamM1GGXnYUP3l5o1YplvkG7 ZHw2BoqLkmBeIgyft7+nKqBuGdQIXpajib7U46XTI4fOqNGuaKAmRUr9DnDPuWSg3eHq IHTCEMhNPGm4IJNG3AZEhm86bkPq//lxjDlb/0Xcp1hxTc+pf2hVVpj66y8JVSLgmWHp 4IXA== Received: by 10.50.163.99 with SMTP id yh3mr10225712igb.53.1341903758837; Tue, 10 Jul 2012 00:02:38 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp45743ibb; Tue, 10 Jul 2012 00:02:38 -0700 (PDT) Received: by 10.101.165.15 with SMTP id s15mr14661825ano.36.1341903757983; Tue, 10 Jul 2012 00:02:37 -0700 (PDT) Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) by mx.google.com with ESMTPS id i49si28839498yhn.141.2012.07.10.00.02.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jul 2012 00:02:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by yenl6 with SMTP id l6so12748302yen.37 for ; Tue, 10 Jul 2012 00:02:37 -0700 (PDT) Received: by 10.68.201.7 with SMTP id jw7mr12215505pbc.60.1341903757135; Tue, 10 Jul 2012 00:02:37 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ny4sm29294707pbb.57.2012.07.10.00.02.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jul 2012 00:02:36 -0700 (PDT) From: Sachin Kamat To: linux-pm@vger.kernel.org Cc: rjw@sisk.pl, gregkh@linuxfoundation.org, sachin.kamat@linaro.org, pavel@ucw.cz, patches@linaro.org Subject: [PATCH 1/2] PM/Domains: Add missing static storage class specifier in domain.c file Date: Tue, 10 Jul 2012 12:32:17 +0530 Message-Id: <1341903738-1791-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkTQ7hBhXU9KvStTvvbBwK2JEJIxuzHvpJ8C3j2p+zD2dWjL7Y16oo62fpNJihr/GTrP02E Fixes the folloiwng sparse warning: drivers/base/power/domain.c:149:5: warning: symbol '__pm_genpd_poweron' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/base/power/domain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 9727bc5..4f8e0d2 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -159,7 +159,7 @@ static void genpd_recalc_cpu_exit_latency(struct generic_pm_domain *genpd) * Restore power to @genpd and all of its masters so that it is possible to * resume a device belonging to it. */ -int __pm_genpd_poweron(struct generic_pm_domain *genpd) +static int __pm_genpd_poweron(struct generic_pm_domain *genpd) __releases(&genpd->lock) __acquires(&genpd->lock) { struct gpd_link *link;