From patchwork Thu Nov 15 06:49:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 12856 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 0B30F23E12 for ; Thu, 15 Nov 2012 06:55:42 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id B4DB0A188A4 for ; Thu, 15 Nov 2012 06:55:41 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so811807iag.11 for ; Wed, 14 Nov 2012 22:55:41 -0800 (PST) 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=bYYAu/lIj2XZnqM/1NEbmk3kXOQfjgoZiK/wNlNF5ME=; b=RCq2cX28pd6DvLZ4xXstTQT9E6ubs3kWnvH269i6GJmwwnxA49puujnMZdwt1SwpmB vtN93EbewjGVEWaDdhDNRJAz+YdaoVFwhXP922iIL7VeR2xlM/S/YSBfHO3t/g19gmZo 5iaK9bhCt8ODJJf5cXBrLa9dxrafO87bgG8AJO1HE+LqpvSLg3s8EPEVN5XEf1GyrZh7 t05xb84X1MToSpxQtMUJaYKT3I0EighLoDc+7yhRc16liUNMeZNs2bXQ361zdDagh4dO nfqvgcwf3OnWmSGDUqLBjpyAXUeJFEIYeKeoxYrzH2vtFc4alzYlgmUDz/J1rz9wS/mt C+nQ== Received: by 10.43.7.132 with SMTP id oo4mr151574icb.6.1352962541141; Wed, 14 Nov 2012 22:55:41 -0800 (PST) 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.50.67.148 with SMTP id n20csp782310igt; Wed, 14 Nov 2012 22:55:40 -0800 (PST) Received: by 10.68.189.70 with SMTP id gg6mr1796063pbc.97.1352962540521; Wed, 14 Nov 2012 22:55:40 -0800 (PST) Received: from mail-da0-f42.google.com (mail-da0-f42.google.com [209.85.210.42]) by mx.google.com with ESMTPS id ux7si21321093pbc.282.2012.11.14.22.55.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2012 22:55:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f42.google.com with SMTP id z17so488271dal.15 for ; Wed, 14 Nov 2012 22:55:40 -0800 (PST) Received: by 10.68.209.136 with SMTP id mm8mr1678477pbc.146.1352962540054; Wed, 14 Nov 2012 22:55:40 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id qp6sm9047360pbc.25.2012.11.14.22.55.37 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2012 22:55:39 -0800 (PST) From: Sachin Kamat To: linux-pm@vger.kernel.org Cc: rui.zhang@intel.com, hongbo.zhang@linaro.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] thermal: cpu_cooling: Make 'notify_device' static Date: Thu, 15 Nov 2012 12:19:44 +0530 Message-Id: <1352962184-20970-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlyrX9CruwATZ5r0JtS/cwYFumurOGUuTTCrmLYK9EH9/7rygzDj4FmXoZPogGlf5fqSoks Silences the following sparse warning: drivers/thermal/cpu_cooling.c:67:31: warning: symbol 'notify_device' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/thermal/cpu_cooling.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 392d57d..6f94c2c 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -64,7 +64,7 @@ static unsigned int cpufreq_dev_count; /* notify_table passes value to the CPUFREQ_ADJUST callback function. */ #define NOTIFY_INVALID NULL -struct cpufreq_cooling_device *notify_device; +static struct cpufreq_cooling_device *notify_device; /** * get_idr - function to get a unique id.