clocksource/drivers/exynos_mct: Staticize struct clocksource
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 30 Apr 2015 04:42:52 +0000 (13:42 +0900)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Jun 2015 10:10:09 +0000 (12:10 +0200)
The struct clocksource 'mct_frc' is not exported and used outside so
make it static.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/exynos_mct.c

index 87c2e558c465dcc2b1a98e70ac5b3cb7dfc43277..8b2a9fc66dcc7dc770ca0bf866ad7a33edac4ac1 100644 (file)
@@ -209,7 +209,7 @@ static void exynos4_frc_resume(struct clocksource *cs)
        exynos4_mct_frc_start();
 }
 
-struct clocksource mct_frc = {
+static struct clocksource mct_frc = {
        .name           = "mct-frc",
        .rating         = 400,
        .read           = exynos4_frc_read,