mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
ARM: EXYNOS: Add missing static storage class specifiers in clock-exynos5.c
Fixes the following warnings: arch/arm/mach-exynos/clock-exynos5.c:300:19: warning: symbol 'exynos5_clk_mout_mpll' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:475:12: warning: symbol 'exynos5_clkset_aclk_top_list' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:480:23: warning: symbol 'exynos5_clkset_aclk' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:494:12: warning: symbol 'exynos5_clkset_aclk_333_166_list' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:499:23: warning: symbol 'exynos5_clkset_aclk_333_166' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:989:12: warning: symbol 'exynos5_clkset_group_list' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:1002:23: warning: symbol 'exynos5_clkset_group' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:1218:19: warning: symbol 'exynos5_clk_sclk_fimd1' was not declared. Should it be static? arch/arm/mach-exynos/clock-exynos5.c:1499:20: warning: symbol 'exynos5_clock_syscore_ops' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
96046ea38e
commit
cbd40b38f7
@ -292,7 +292,7 @@ static struct clksrc_sources exynos5_clk_src_mpll = {
|
||||
.nr_sources = ARRAY_SIZE(exynos5_clk_src_mpll_list),
|
||||
};
|
||||
|
||||
struct clksrc_clk exynos5_clk_mout_mpll = {
|
||||
static struct clksrc_clk exynos5_clk_mout_mpll = {
|
||||
.clk = {
|
||||
.name = "mout_mpll",
|
||||
},
|
||||
@ -467,12 +467,12 @@ static struct clksrc_clk exynos5_clk_pclk_acp = {
|
||||
|
||||
/* Core list of CMU_TOP side */
|
||||
|
||||
struct clk *exynos5_clkset_aclk_top_list[] = {
|
||||
static struct clk *exynos5_clkset_aclk_top_list[] = {
|
||||
[0] = &exynos5_clk_mout_mpll_user.clk,
|
||||
[1] = &exynos5_clk_mout_bpll_user.clk,
|
||||
};
|
||||
|
||||
struct clksrc_sources exynos5_clkset_aclk = {
|
||||
static struct clksrc_sources exynos5_clkset_aclk = {
|
||||
.sources = exynos5_clkset_aclk_top_list,
|
||||
.nr_sources = ARRAY_SIZE(exynos5_clkset_aclk_top_list),
|
||||
};
|
||||
@ -486,12 +486,12 @@ static struct clksrc_clk exynos5_clk_aclk_400 = {
|
||||
.reg_div = { .reg = EXYNOS5_CLKDIV_TOP0, .shift = 24, .size = 3 },
|
||||
};
|
||||
|
||||
struct clk *exynos5_clkset_aclk_333_166_list[] = {
|
||||
static struct clk *exynos5_clkset_aclk_333_166_list[] = {
|
||||
[0] = &exynos5_clk_mout_cpll.clk,
|
||||
[1] = &exynos5_clk_mout_mpll_user.clk,
|
||||
};
|
||||
|
||||
struct clksrc_sources exynos5_clkset_aclk_333_166 = {
|
||||
static struct clksrc_sources exynos5_clkset_aclk_333_166 = {
|
||||
.sources = exynos5_clkset_aclk_333_166_list,
|
||||
.nr_sources = ARRAY_SIZE(exynos5_clkset_aclk_333_166_list),
|
||||
};
|
||||
@ -966,7 +966,7 @@ static struct clk exynos5_clk_fimd1 = {
|
||||
.ctrlbit = (1 << 0),
|
||||
};
|
||||
|
||||
struct clk *exynos5_clkset_group_list[] = {
|
||||
static struct clk *exynos5_clkset_group_list[] = {
|
||||
[0] = &clk_ext_xtal_mux,
|
||||
[1] = NULL,
|
||||
[2] = &exynos5_clk_sclk_hdmi24m,
|
||||
@ -979,7 +979,7 @@ struct clk *exynos5_clkset_group_list[] = {
|
||||
[9] = &exynos5_clk_mout_cpll.clk,
|
||||
};
|
||||
|
||||
struct clksrc_sources exynos5_clkset_group = {
|
||||
static struct clksrc_sources exynos5_clkset_group = {
|
||||
.sources = exynos5_clkset_group_list,
|
||||
.nr_sources = ARRAY_SIZE(exynos5_clkset_group_list),
|
||||
};
|
||||
@ -1195,7 +1195,7 @@ static struct clksrc_clk exynos5_clk_sclk_spi2 = {
|
||||
.reg_div = { .reg = EXYNOS5_CLKDIV_PERIC2, .shift = 8, .size = 8 },
|
||||
};
|
||||
|
||||
struct clksrc_clk exynos5_clk_sclk_fimd1 = {
|
||||
static struct clksrc_clk exynos5_clk_sclk_fimd1 = {
|
||||
.clk = {
|
||||
.name = "sclk_fimd",
|
||||
.devname = "exynos5-fb.1",
|
||||
@ -1476,7 +1476,7 @@ static void exynos5_clock_resume(void)
|
||||
#define exynos5_clock_resume NULL
|
||||
#endif
|
||||
|
||||
struct syscore_ops exynos5_clock_syscore_ops = {
|
||||
static struct syscore_ops exynos5_clock_syscore_ops = {
|
||||
.suspend = exynos5_clock_suspend,
|
||||
.resume = exynos5_clock_resume,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user