diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-07-15 12:17:48 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-07-15 12:17:48 -0400 |
commit | 2bc7509f62da572925ef33365d4fc16f8b4abdd4 (patch) | |
tree | 8cbc973c13a2513f0fb6f51bd5dab74a858bff62 | |
parent | 7ba06b17a1931b2c9e1bee525a8c36920f5be0e0 (diff) |
[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: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-vr1000.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/mach-anubis.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 965f27129707..5c289c3a4378 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -562,7 +562,7 @@ static struct platform_device *bast_devices[] __initdata = { | |||
562 | &bast_sio, | 562 | &bast_sio, |
563 | }; | 563 | }; |
564 | 564 | ||
565 | static struct clk *bast_clocks[] = { | 565 | static struct clk *bast_clocks[] __initdata = { |
566 | &s3c24xx_dclk0, | 566 | &s3c24xx_dclk0, |
567 | &s3c24xx_dclk1, | 567 | &s3c24xx_dclk1, |
568 | &s3c24xx_clkout0, | 568 | &s3c24xx_clkout0, |
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index 9a0965ac5e11..7be0bb629bfa 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c2410/mach-vr1000.c | |||
@@ -344,7 +344,7 @@ static struct platform_device *vr1000_devices[] __initdata = { | |||
344 | &vr1000_led3, | 344 | &vr1000_led3, |
345 | }; | 345 | }; |
346 | 346 | ||
347 | static struct clk *vr1000_clocks[] = { | 347 | static struct clk *vr1000_clocks[] __initdata = { |
348 | &s3c24xx_dclk0, | 348 | &s3c24xx_dclk0, |
349 | &s3c24xx_dclk1, | 349 | &s3c24xx_dclk1, |
350 | &s3c24xx_clkout0, | 350 | &s3c24xx_clkout0, |
diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c2440/mach-anubis.c index 09af8b23500b..0c33a932d65c 100644 --- a/arch/arm/mach-s3c2440/mach-anubis.c +++ b/arch/arm/mach-s3c2440/mach-anubis.c | |||
@@ -414,7 +414,7 @@ static struct platform_device *anubis_devices[] __initdata = { | |||
414 | &anubis_device_sm501, | 414 | &anubis_device_sm501, |
415 | }; | 415 | }; |
416 | 416 | ||
417 | static struct clk *anubis_clocks[] = { | 417 | static struct clk *anubis_clocks[] __initdata = { |
418 | &s3c24xx_dclk0, | 418 | &s3c24xx_dclk0, |
419 | &s3c24xx_dclk1, | 419 | &s3c24xx_dclk1, |
420 | &s3c24xx_clkout0, | 420 | &s3c24xx_clkout0, |
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index af996b0e91e8..3869ca2c345e 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -341,7 +341,7 @@ static struct platform_device *osiris_devices[] __initdata = { | |||
341 | &osiris_pcmcia, | 341 | &osiris_pcmcia, |
342 | }; | 342 | }; |
343 | 343 | ||
344 | static struct clk *osiris_clocks[] = { | 344 | static struct clk *osiris_clocks[] __initdata = { |
345 | &s3c24xx_dclk0, | 345 | &s3c24xx_dclk0, |
346 | &s3c24xx_dclk1, | 346 | &s3c24xx_dclk1, |
347 | &s3c24xx_clkout0, | 347 | &s3c24xx_clkout0, |