summaryrefslogtreecommitdiff
path: root/arch/arm/mach-clps711x/autcpu12.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-11-17 17:57:09 +0400
committerOlof Johansson <olof@lixom.net>2012-11-20 22:21:48 -0800
commitdd850f1223fe039ed649b34b1d2872b1f4221de9 (patch)
tree8fafc01a8b86e508f3430a0cbf77f15bb7d6e4da /arch/arm/mach-clps711x/autcpu12.c
parentb3a076dd0270507e1976b141a2aa5c53b9b553d1 (diff)
downloadkernel-common-dd850f1223fe039ed649b34b1d2872b1f4221de9.tar.gz
kernel-common-dd850f1223fe039ed649b34b1d2872b1f4221de9.tar.bz2
kernel-common-dd850f1223fe039ed649b34b1d2872b1f4221de9.zip
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.c1
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 = {
static void __init autcpu12_init(void)
{
+ platform_device_register_simple("video-clps711x", 0, NULL, 0);
platform_device_register_simple("cs89x0", 0, autcpu12_cs8900_resource,
ARRAY_SIZE(autcpu12_cs8900_resource));
platform_device_register(&autcpu12_nvram_pdev);