Commit 6b1355f9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by MyungJoo Ham

PM / devfreq: exynos-ppmu: Staticize event list

The ppmu_events array is accessed only in this compilation unit so it
can be made static.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
parent 97a6ba5b
...@@ -44,7 +44,7 @@ struct exynos_ppmu { ...@@ -44,7 +44,7 @@ struct exynos_ppmu {
{ "ppmu-event2-"#name, PPMU_PMNCNT2 }, \ { "ppmu-event2-"#name, PPMU_PMNCNT2 }, \
{ "ppmu-event3-"#name, PPMU_PMNCNT3 } { "ppmu-event3-"#name, PPMU_PMNCNT3 }
struct __exynos_ppmu_events { static struct __exynos_ppmu_events {
char *name; char *name;
int id; int id;
} ppmu_events[] = { } ppmu_events[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment