aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa95x.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-10-17 08:37:52 -0400
committerHaojian Zhuang <hzhuang1@hexinfolabs.org>2011-11-15 06:08:27 -0500
commit157d2644cb0c1e71a18baaffca56d2b1d0ebf10f (patch)
treee33d224362ce8ac0706725f02ecd8b89c3645934 /arch/arm/mach-pxa/pxa95x.c
parent9bf448c66d4b4cb03813b39195d408701ecf1fab (diff)
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-pxa/pxa95x.c')
-rw-r--r--arch/arm/mach-pxa/pxa95x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pxa95x.c b/arch/arm/mach-pxa/pxa95x.c
index 51371b39d2a3..0961093dd033 100644
--- a/arch/arm/mach-pxa/pxa95x.c
+++ b/arch/arm/mach-pxa/pxa95x.c
@@ -20,7 +20,6 @@
20#include <linux/syscore_ops.h> 20#include <linux/syscore_ops.h>
21 21
22#include <mach/hardware.h> 22#include <mach/hardware.h>
23#include <mach/gpio-pxa.h>
24#include <mach/pxa3xx-regs.h> 23#include <mach/pxa3xx-regs.h>
25#include <mach/pxa930.h> 24#include <mach/pxa930.h>
26#include <mach/reset.h> 25#include <mach/reset.h>
@@ -235,7 +234,6 @@ static struct clk_lookup pxa95x_clkregs[] = {
235void __init pxa95x_init_irq(void) 234void __init pxa95x_init_irq(void)
236{ 235{
237 pxa_init_irq(96, NULL); 236 pxa_init_irq(96, NULL);
238 pxa_init_gpio(IRQ_GPIO_2_x, 2, 127, NULL);
239} 237}
240 238
241/* 239/*
@@ -248,6 +246,7 @@ void __init pxa95x_set_i2c_power_info(struct i2c_pxa_platform_data *info)
248} 246}
249 247
250static struct platform_device *devices[] __initdata = { 248static struct platform_device *devices[] __initdata = {
249 &pxa_device_gpio,
251 &sa1100_device_rtc, 250 &sa1100_device_rtc,
252 &pxa_device_rtc, 251 &pxa_device_rtc,
253 &pxa27x_device_ssp1, 252 &pxa27x_device_ssp1,