mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 23:30:53 +07:00
ARM: S3C64XX: Statically define parent clock of "camera" clock
The "camera" clock have only one parent. Define it statically and remove unused source clock list. Based on patch submitted by Sylwester Nawrocki <sylvester.nawrocki@gmail.com> (http://article.gmane.org/gmane.linux.kernel.samsung-soc/13691) Signed-off-by: Andrey Gusakov <dron0gus@gmail.com> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com> Reviewed-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
9ffb571cb1
commit
9213c50d18
@ -673,15 +673,6 @@ static struct clksrc_sources clkset_audio2 = {
|
||||
.nr_sources = ARRAY_SIZE(clkset_audio2_list),
|
||||
};
|
||||
|
||||
static struct clk *clkset_camif_list[] = {
|
||||
&clk_h2,
|
||||
};
|
||||
|
||||
static struct clksrc_sources clkset_camif = {
|
||||
.sources = clkset_camif_list,
|
||||
.nr_sources = ARRAY_SIZE(clkset_camif_list),
|
||||
};
|
||||
|
||||
static struct clksrc_clk clksrcs[] = {
|
||||
{
|
||||
.clk = {
|
||||
@ -736,10 +727,9 @@ static struct clksrc_clk clksrcs[] = {
|
||||
.name = "camera",
|
||||
.ctrlbit = S3C_CLKCON_SCLK_CAM,
|
||||
.enable = s3c64xx_sclk_ctrl,
|
||||
.parent = &clk_h2,
|
||||
},
|
||||
.reg_div = { .reg = S3C_CLK_DIV0, .shift = 20, .size = 4 },
|
||||
.reg_src = { .reg = NULL, .shift = 0, .size = 0 },
|
||||
.sources = &clkset_camif,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user