diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-10-28 10:31:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:31:45 -0400 |
commit | 893b03094c2ed929648d76a29cbbfc9e215e8636 (patch) | |
tree | aff67b68cf24ac83316514051568f3643a48ebc6 /arch/arm/mach-s3c2410/mach-h1940.c | |
parent | 3b90c9c33361d49893645ffcebe6ca230f434705 (diff) |
[ARM] 3045/2: S3C2410 - change init for lcd platform data
Patch from Ben Dooks
Change set_s3c2410fb_info to s3c2410_fb_set_platdata
and use kmalloc() for the copy of the information it
is passed.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-h1940.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-h1940.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index fb3cb01266e5..7efeaaad2361 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * 14-Jan-2005 BJD Added clock init | 25 | * 14-Jan-2005 BJD Added clock init |
26 | * 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA | 26 | * 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA |
27 | * 20-Sep-2005 BJD Added static to non-exported items | 27 | * 20-Sep-2005 BJD Added static to non-exported items |
28 | * 26-Oct-2005 BJD Changed name of fb init call | ||
28 | */ | 29 | */ |
29 | 30 | ||
30 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
@@ -164,7 +165,7 @@ static void __init h1940_init_irq(void) | |||
164 | 165 | ||
165 | static void __init h1940_init(void) | 166 | static void __init h1940_init(void) |
166 | { | 167 | { |
167 | set_s3c2410fb_info(&h1940_lcdcfg); | 168 | s3c24xx_fb_set_platdata(&h1940_lcdcfg); |
168 | } | 169 | } |
169 | 170 | ||
170 | MACHINE_START(H1940, "IPAQ-H1940") | 171 | MACHINE_START(H1940, "IPAQ-H1940") |