diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-11-17 08:57:09 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-21 01:21:48 -0500 |
commit | dd850f1223fe039ed649b34b1d2872b1f4221de9 (patch) | |
tree | 8fafc01a8b86e508f3430a0cbf77f15bb7d6e4da /arch/arm/mach-clps711x/autcpu12.c | |
parent | b3a076dd0270507e1976b141a2aa5c53b9b553d1 (diff) |
ARM: clps711x: Transform clps711x-framebuffer to platform driver and use it
clps711x-framebuffer driver needs to be updated and this is a first step
to make driver better. With this patch we are convert clps711x-framebuffer
to platform device and load this driver from board code.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-clps711x/autcpu12.c')
-rw-r--r-- | arch/arm/mach-clps711x/autcpu12.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/autcpu12.c b/arch/arm/mach-clps711x/autcpu12.c index d9b7f94a7ec9..c20043ba2076 100644 --- a/arch/arm/mach-clps711x/autcpu12.c +++ b/arch/arm/mach-clps711x/autcpu12.c | |||
@@ -61,6 +61,7 @@ static struct platform_device autcpu12_nvram_pdev __initdata = { | |||
61 | 61 | ||
62 | static void __init autcpu12_init(void) | 62 | static void __init autcpu12_init(void) |
63 | { | 63 | { |
64 | platform_device_register_simple("video-clps711x", 0, NULL, 0); | ||
64 | platform_device_register_simple("cs89x0", 0, autcpu12_cs8900_resource, | 65 | platform_device_register_simple("cs89x0", 0, autcpu12_cs8900_resource, |
65 | ARRAY_SIZE(autcpu12_cs8900_resource)); | 66 | ARRAY_SIZE(autcpu12_cs8900_resource)); |
66 | platform_device_register(&autcpu12_nvram_pdev); | 67 | platform_device_register(&autcpu12_nvram_pdev); |