ARM S3C2410 framebuffer driver
Subsystems (3)
PATCH 2/2 ARM S3C2410 framebuffer driver
Signed-off-by Arnaud Patard <[email protected]>
---
arch/arm/mach-s3c2410/devs.c +10 -1
@@ -29,7 +29,7 @@#include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/mach/irq.h> - +#include <asm/arch/fb.h> #include <asm/hardware.h> #include <asm/io.h> #include <asm/irq.h>
@@ -103,6 +103,15 @@ struct platform_device s3c_device_lcd =EXPORT_SYMBOL (s3c_device_lcd); +static struct s3c2410fb_mach_info s3c2410fb_info; + +void __init set_s3c2410fb_info (struct s3c2410fb_mach_info *hard_s3c2410fb_info) +{ +memcpy (&s3c2410fb_info,hard_s3c2410fb_info,sizeof (struct s3c2410fb_mach_info )); + s3c_device_lcd.dev.platform_data = &s3c2410fb_info; +} +EXPORT_SYMBOL (set_s3c2410fb_info); +/* NAND Controller */ static struct resource s3c_nand_resource[] = {
arch/arm/mach-s3c2410/mach-h1940.c +51 -0
74 lines not on this page · raw message