提交 2bc7509f 编写于 作者: B Ben Dooks

[ARM] S3C24XX: s3c243xx_clock_register() data can be __initdata

Any data being passed to s3c243xx_clock_register() can be
marked as __initdata as it is an array of pointers to
'struct clk' that are to be registered on initialisation.

The s3c243xx_clock_register function uses this array to
register clocks and does not require it to stay around
after exit.
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 7ba06b17
...@@ -562,7 +562,7 @@ static struct platform_device *bast_devices[] __initdata = { ...@@ -562,7 +562,7 @@ static struct platform_device *bast_devices[] __initdata = {
&bast_sio, &bast_sio,
}; };
static struct clk *bast_clocks[] = { static struct clk *bast_clocks[] __initdata = {
&s3c24xx_dclk0, &s3c24xx_dclk0,
&s3c24xx_dclk1, &s3c24xx_dclk1,
&s3c24xx_clkout0, &s3c24xx_clkout0,
......
...@@ -344,7 +344,7 @@ static struct platform_device *vr1000_devices[] __initdata = { ...@@ -344,7 +344,7 @@ static struct platform_device *vr1000_devices[] __initdata = {
&vr1000_led3, &vr1000_led3,
}; };
static struct clk *vr1000_clocks[] = { static struct clk *vr1000_clocks[] __initdata = {
&s3c24xx_dclk0, &s3c24xx_dclk0,
&s3c24xx_dclk1, &s3c24xx_dclk1,
&s3c24xx_clkout0, &s3c24xx_clkout0,
......
...@@ -414,7 +414,7 @@ static struct platform_device *anubis_devices[] __initdata = { ...@@ -414,7 +414,7 @@ static struct platform_device *anubis_devices[] __initdata = {
&anubis_device_sm501, &anubis_device_sm501,
}; };
static struct clk *anubis_clocks[] = { static struct clk *anubis_clocks[] __initdata = {
&s3c24xx_dclk0, &s3c24xx_dclk0,
&s3c24xx_dclk1, &s3c24xx_dclk1,
&s3c24xx_clkout0, &s3c24xx_clkout0,
......
...@@ -341,7 +341,7 @@ static struct platform_device *osiris_devices[] __initdata = { ...@@ -341,7 +341,7 @@ static struct platform_device *osiris_devices[] __initdata = {
&osiris_pcmcia, &osiris_pcmcia,
}; };
static struct clk *osiris_clocks[] = { static struct clk *osiris_clocks[] __initdata = {
&s3c24xx_dclk0, &s3c24xx_dclk0,
&s3c24xx_dclk1, &s3c24xx_dclk1,
&s3c24xx_clkout0, &s3c24xx_clkout0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册