Skip to content

Commit

Permalink
PM / devfreq: exynos-ppmu: Staticize event list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
krzk authored and myungjoo committed Jun 12, 2017
1 parent 97a6ba5 commit 6b1355f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/devfreq/event/exynos-ppmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct exynos_ppmu {
{ "ppmu-event2-"#name, PPMU_PMNCNT2 }, \
{ "ppmu-event3-"#name, PPMU_PMNCNT3 }

struct __exynos_ppmu_events {
static struct __exynos_ppmu_events {
char *name;
int id;
} ppmu_events[] = {
Expand Down

0 comments on commit 6b1355f

Please sign in to comment.