From patchwork Wed Jun 6 05:43:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9137 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 D0EF923DEB for ; Wed, 6 Jun 2012 05:54:52 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id 86557A1866B for ; Wed, 6 Jun 2012 05:54:52 +0000 (UTC) Received: by obbun3 with SMTP id un3so11616339obb.11 for ; Tue, 05 Jun 2012 22:54:52 -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=g7RUSk+y53d3iFnMx1Q+KCD/UG0IattHaEshf1rivJE=; b=NdD4wrXctVgfcxfVEsprGpHV73g3Bze/zIwIH70gI1dgvpXIgrltVI/PIwRarjIN6P JliWrGT5NFt7y2eihqrMhWDOKvvSG478+tQ0Z4Ff2D1s7rXihewUWGPZ8oAiDPHpP9SR Xo2Bz3Mg18AboCNJi/PJkja+6/QFFgJH4rD1so009TzDytqbYrKaLNmxinb2zZkJgw/B MlNctZ+BvrpgxcvjsJ0qpKtnAqWvqhZ1zVgpnP7dMBtzRE7PBQQZ5pwXZrvefVqQJQHv cnBH9ez+ZoDkLwyyarnFYz55rjiECNvWShADZNofK0LjTUnpIrsSJWF5ci88TfP9u++P 8Epw== Received: by 10.50.46.232 with SMTP id y8mr5317634igm.57.1338962091840; Tue, 05 Jun 2012 22:54:51 -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 v20csp64559ibb; Tue, 5 Jun 2012 22:54:50 -0700 (PDT) Received: by 10.68.227.197 with SMTP id sc5mr56628875pbc.58.1338962090737; Tue, 05 Jun 2012 22:54:50 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id tx7si1152004pbc.95.2012.06.05.22.54.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jun 2012 22:54:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so9952684pbb.37 for ; Tue, 05 Jun 2012 22:54:50 -0700 (PDT) Received: by 10.68.193.198 with SMTP id hq6mr13344642pbc.21.1338962090461; Tue, 05 Jun 2012 22:54:50 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id x1sm1336169pbp.50.2012.06.05.22.54.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jun 2012 22:54:49 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] PM: devfreq: Add missing static storage class specifier in devfreq.c file Date: Wed, 6 Jun 2012 11:13:46 +0530 Message-Id: <1338961426-31470-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQllsEI9LarxS3Jz1Isd2QXmhpJVwi7oV5fv9x4+DSwVU02ANfxBZnirIApm8hbEeeO2ZRH8 Fixes the following sparse warning: drivers/devfreq/devfreq.c:30:14: warning: symbol 'devfreq_class' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/devfreq/devfreq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 70c31d4..9eb6805 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -27,7 +27,7 @@ #include #include "governor.h" -struct class *devfreq_class; +static struct class *devfreq_class; /* * devfreq_work periodically monitors every registered device.