Skip to content

Commit

Permalink
ARM: S5P: Remove the unused clk_arm clock from plat-s5p
Browse files Browse the repository at this point in the history
All the S5P series SoCs use the 'struct clksrc_clk' type to represent the
armclk. So the clk_arm clock instance available in the plat-s5p clock code
is not used in any of the S5P series SoCs.
This patch removes the unused clk_arm instance from plat-s5p clock code.

Reported-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Thomas Abraham authored and Kukjin Kim committed Oct 20, 2010
1 parent 5aed1f7 commit 658bf4b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions arch/arm/plat-s5p/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ struct clk clk_fout_vpll = {
.ctrlbit = (1 << 31),
};

/* ARM clock */
struct clk clk_arm = {
.name = "armclk",
.id = -1,
.rate = 0,
.ctrlbit = 0,
};

/* Possible clock sources for APLL Mux */
static struct clk *clk_src_apll_list[] = {
[0] = &clk_fin_apll,
Expand Down Expand Up @@ -165,7 +157,6 @@ static struct clk *s5p_clks[] __initdata = {
&clk_fout_epll,
&clk_fout_dpll,
&clk_fout_vpll,
&clk_arm,
&clk_vpll,
&clk_xusbxti,
};
Expand Down

0 comments on commit 658bf4b

Please sign in to comment.