[<prev] [next>] [day] [month] [year] [list]
Message-id: <32123437.782611339393071788.JavaMail.weblogic@epml04>
Date: Mon, 11 Jun 2012 05:37:52 +0000 (GMT)
From: MyungJoo Ham <myungjoo.ham@...sung.com>
To: Sachin Kamat <sachin.kamat@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: ¹Ú°æ¹Î <kyungmin.park@...sung.com>,
"patches@...aro.org" <patches@...aro.org>
Subject: Re: [PATCH 1/1] PM: devfreq: Add missing static storage class
specifier in devfreq.c file
> 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 <sachin.kamat@...aro.org>
Signed-off-by: MyungJoo Ham <myunhjoo.ham@...sung.com>
Merged in the devfreq-for-next tree. I'll later send pull a request along with other patches.
Cheers!
MyungJoo.
> ---
> 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 <linux/hrtimer.h>
> #include "governor.h"
>
> -struct class *devfreq_class;
> +static struct class *devfreq_class;
>
> /*
> * devfreq_work periodically monitors every registered device.
> --
> 1.7.4.1
Powered by blists - more mailing lists