diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-06-07 20:12:28 +0200 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-06-12 03:12:07 +0200 |
commit | 6b1355f9ace06a65443c607e1b70872a5f613f80 (patch) | |
tree | 36ff181a6d0eb28e22a84ae4fb495cd204cd22ba /drivers/devfreq/event | |
parent | PM / devfreq: exynos-ppmu: Handle return value of clk_prepare_enable (diff) | |
download | linux-6b1355f9ace06a65443c607e1b70872a5f613f80.tar.xz linux-6b1355f9ace06a65443c607e1b70872a5f613f80.zip |
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 <krzk@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq/event')
-rw-r--r-- | drivers/devfreq/event/exynos-ppmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { |