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: 1747221 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 21D4A3FC64 for ; Thu, 15 Nov 2012 06:55:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423559Ab2KOGzm (ORCPT ); Thu, 15 Nov 2012 01:55:42 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:33638 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932204Ab2KOGzk (ORCPT ); Thu, 15 Nov 2012 01:55:40 -0500 Received: by mail-pb0-f46.google.com with SMTP id wy7so947636pbc.19 for ; Wed, 14 Nov 2012 22:55:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=bYYAu/lIj2XZnqM/1NEbmk3kXOQfjgoZiK/wNlNF5ME=; b=L44qmJ09wlRqe7LXKzqMKTo9Xkjdjxev2M7KiGRFn9FDTCYCdrZpMLkyW7pi779Pbq E5iZi2JxruF4725RVEI//v8+TnCr0/LSO2Km7Blm4H133nDgLl9wpdmqxvE0K8VA81ZZ E/Rgfi+bFQzDFVqG06uWI1/82XLzlx8MUHsfsBJrHpd/N943+kXiIi+RduYqfc5EbfbE w7MiJ/bggqLFWT6jatVQ9eJFy9DpzLgo0fG95l7t6xVye8jC3Oh4pWutOpZjmSrN2RYw hQY3h/c3jmwoBSx/NA2L57xWhWcD7v0ap9vs6lTNnyMinpC5nyixI4CSO9ra1g579yAX VxDQ== 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: ALoCoQmx9cP2kzkMPsJ+FaAkJSvndv3C/vK6ybN5MhOMacwq/iL2qDJ4wN1ime9G2VB7vPRjjoN8 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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.