summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/avengers_lite.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-10-17 20:37:52 +0800
committerHaojian Zhuang <hzhuang1@hexinfolabs.org>2011-11-15 19:08:27 +0800
commit157d2644cb0c1e71a18baaffca56d2b1d0ebf10f (patch)
treee33d224362ce8ac0706725f02ecd8b89c3645934 /arch/arm/mach-mmp/avengers_lite.c
parent9bf448c66d4b4cb03813b39195d408701ecf1fab (diff)
downloadop-kernel-dev-157d2644cb0c1e71a18baaffca56d2b1d0ebf10f.zip
op-kernel-dev-157d2644cb0c1e71a18baaffca56d2b1d0ebf10f.tar.gz
ARM: pxa: change gpio to platform device
Remove most gpio macros and change gpio driver to platform driver. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Diffstat (limited to 'arch/arm/mach-mmp/avengers_lite.c')
-rw-r--r--arch/arm/mach-mmp/avengers_lite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/avengers_lite.c b/arch/arm/mach-mmp/avengers_lite.c
index 39f0878..c5d53e0 100644
--- a/arch/arm/mach-mmp/avengers_lite.c
+++ b/arch/arm/mach-mmp/avengers_lite.c
@@ -38,6 +38,7 @@ static void __init avengers_lite_init(void)
/* on-chip devices */
pxa168_add_uart(2);
+ platform_device_register(&pxa168_device_gpio);
}
MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform")
OpenPOWER on IntegriCloud