projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a6ba5
)
PM / devfreq: exynos-ppmu: Staticize event list
author
Krzysztof Kozlowski
<krzk@kernel.org>
Wed, 7 Jun 2017 18:12:28 +0000
(20:12 +0200)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Mon, 12 Jun 2017 01:12:07 +0000
(10:12 +0900)
The ppmu_events array is accessed only in this compilation unit so it
can be made static.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/event/exynos-ppmu.c
patch
|
blob
|
history
diff --git
a/drivers/devfreq/event/exynos-ppmu.c
b/drivers/devfreq/event/exynos-ppmu.c
index
8f6537a
..
d96e3dc
100644
(file)
--- a/
drivers/devfreq/event/exynos-ppmu.c
+++ b/
drivers/devfreq/event/exynos-ppmu.c
@@
-44,7
+44,7
@@
struct exynos_ppmu {
{ "ppmu-event2-"#name, PPMU_PMNCNT2 }, \
{ "ppmu-event3-"#name, PPMU_PMNCNT3 }
-struct __exynos_ppmu_events {
+st
atic st
ruct __exynos_ppmu_events {
char *name;
int id;
} ppmu_events[] = {