aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-pxa/pxa25x.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index 3352b37b60cf..aeb913eee8a6 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -338,6 +338,10 @@ void __init pxa25x_map_io(void)
338 pxa25x_get_clk_frequency_khz(1); 338 pxa25x_get_clk_frequency_khz(1);
339} 339}
340 340
341static struct pxa_gpio_platform_data pxa25x_gpio_info __initdata = {
342 .gpio_set_wake = gpio_set_wake,
343};
344
341static struct platform_device *pxa25x_devices[] __initdata = { 345static struct platform_device *pxa25x_devices[] __initdata = {
342 &pxa25x_device_udc, 346 &pxa25x_device_udc,
343 &pxa_device_pmu, 347 &pxa_device_pmu,
@@ -370,6 +374,7 @@ static int __init pxa25x_init(void)
370 register_syscore_ops(&pxa2xx_mfp_syscore_ops); 374 register_syscore_ops(&pxa2xx_mfp_syscore_ops);
371 register_syscore_ops(&pxa2xx_clock_syscore_ops); 375 register_syscore_ops(&pxa2xx_clock_syscore_ops);
372 376
377 pxa_register_device(&pxa_device_gpio, &pxa25x_gpio_info);
373 ret = platform_add_devices(pxa25x_devices, 378 ret = platform_add_devices(pxa25x_devices,
374 ARRAY_SIZE(pxa25x_devices)); 379 ARRAY_SIZE(pxa25x_devices));
375 if (ret) 380 if (ret)