From: Krzysztof Kozlowski Date: Wed, 7 Jun 2017 18:12:28 +0000 (+0200) Subject: PM / devfreq: exynos-ppmu: Staticize event list X-Git-Tag: v4.12-rc6~35^2^3^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6b1355f9ace06a65443c607e1b70872a5f613f80;p=karo-tx-linux.git 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: Krzysztof Kozlowski Acked-by: Chanwoo Choi Signed-off-by: MyungJoo Ham --- diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index 8f6537aa989b..d96e3dc71cf8 100644 --- 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 { +static struct __exynos_ppmu_events { char *name; int id; } ppmu_events[] = {