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 /arch/arm/mach-s3c2440/mach-anubis.c | |
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>
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-anubis.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-anubis.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |