aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-bast.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-07-15 17:17:48 +0100
committerBen Dooks <ben-linux@fluff.org>2008-07-15 17:17:48 +0100
commit2bc7509f62da572925ef33365d4fc16f8b4abdd4 (patch)
tree8cbc973c13a2513f0fb6f51bd5dab74a858bff62 /arch/arm/mach-s3c2410/mach-bast.c
parent[ARM] s3c2410_defconfig: update for current build (diff)
downloadlinux-dev-2bc7509f62da572925ef33365d4fc16f8b4abdd4.tar.xz
linux-dev-2bc7509f62da572925ef33365d4fc16f8b4abdd4.zip
[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-s3c2410/mach-bast.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-bast.c2
1 files changed, 1 insertions, 1 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 = {
&bast_sio,
};
-static struct clk *bast_clocks[] = {
+static struct clk *bast_clocks[] __initdata = {
&s3c24xx_dclk0,
&s3c24xx_dclk1,
&s3c24xx_clkout0,