* Re: [PATCH 1/1] PM: devfreq: Add missing static storage class specifier in devfreq.c file
@ 2012-06-11 5:37 MyungJoo Ham
0 siblings, 0 replies; 3+ messages in thread
From: MyungJoo Ham @ 2012-06-11 5:37 UTC (permalink / raw)
To: Sachin Kamat, linux-kernel; +Cc: 박경민, patches
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 1046 bytes --]
> 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@linaro.org>
Signed-off-by: MyungJoo Ham <myunhjoo.ham@samsung.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
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/1] PM: devfreq: Add missing static storage class specifier in devfreq.c file
@ 2012-06-06 5:43 Sachin Kamat
2012-06-06 6:01 ` Rahul Bedarkar
0 siblings, 1 reply; 3+ messages in thread
From: Sachin Kamat @ 2012-06-06 5:43 UTC (permalink / raw)
To: linux-kernel; +Cc: myungjoo.ham, kyungmin.park, sachin.kamat, patches
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@linaro.org>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] PM: devfreq: Add missing static storage class specifier in devfreq.c file
2012-06-06 5:43 Sachin Kamat
@ 2012-06-06 6:01 ` Rahul Bedarkar
0 siblings, 0 replies; 3+ messages in thread
From: Rahul Bedarkar @ 2012-06-06 6:01 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-kernel, myungjoo.ham, kyungmin.park, patches
It could be static.
On Wed, Jun 6, 2012 at 11:13 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 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@linaro.org>
> ---
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-11 5:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-11 5:37 [PATCH 1/1] PM: devfreq: Add missing static storage class specifier in devfreq.c file MyungJoo Ham
-- strict thread matches above, loose matches on Subject: below --
2012-06-06 5:43 Sachin Kamat
2012-06-06 6:01 ` Rahul Bedarkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®