ARM: pxa: remove duplicated registeration on pxa-gpio
Both reboot (via reboot(RB_AUTOBOOT)) and suspend freeze on hx4700. Registration of pxa_gpio_syscore_ops is moved into pxa-gpio driver, but it still exists in arch-pxa directory. It resulsts failure on reboot and suspend. Now remove the registration code in arch-pxa. Reported-by: Paul Parsons <lost.distance@yahoo.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
This commit is contained in:
parent
bbdc818b27
commit
0c7de34be3
|
@ -49,7 +49,6 @@ extern unsigned pxa3xx_get_clk_frequency_khz(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern struct syscore_ops pxa_irq_syscore_ops;
|
extern struct syscore_ops pxa_irq_syscore_ops;
|
||||||
extern struct syscore_ops pxa_gpio_syscore_ops;
|
|
||||||
extern struct syscore_ops pxa2xx_mfp_syscore_ops;
|
extern struct syscore_ops pxa2xx_mfp_syscore_ops;
|
||||||
extern struct syscore_ops pxa3xx_mfp_syscore_ops;
|
extern struct syscore_ops pxa3xx_mfp_syscore_ops;
|
||||||
|
|
||||||
|
|
|
@ -368,7 +368,6 @@ static int __init pxa25x_init(void)
|
||||||
|
|
||||||
register_syscore_ops(&pxa_irq_syscore_ops);
|
register_syscore_ops(&pxa_irq_syscore_ops);
|
||||||
register_syscore_ops(&pxa2xx_mfp_syscore_ops);
|
register_syscore_ops(&pxa2xx_mfp_syscore_ops);
|
||||||
register_syscore_ops(&pxa_gpio_syscore_ops);
|
|
||||||
register_syscore_ops(&pxa2xx_clock_syscore_ops);
|
register_syscore_ops(&pxa2xx_clock_syscore_ops);
|
||||||
|
|
||||||
ret = platform_add_devices(pxa25x_devices,
|
ret = platform_add_devices(pxa25x_devices,
|
||||||
|
|
|
@ -456,7 +456,6 @@ static int __init pxa27x_init(void)
|
||||||
|
|
||||||
register_syscore_ops(&pxa_irq_syscore_ops);
|
register_syscore_ops(&pxa_irq_syscore_ops);
|
||||||
register_syscore_ops(&pxa2xx_mfp_syscore_ops);
|
register_syscore_ops(&pxa2xx_mfp_syscore_ops);
|
||||||
register_syscore_ops(&pxa_gpio_syscore_ops);
|
|
||||||
register_syscore_ops(&pxa2xx_clock_syscore_ops);
|
register_syscore_ops(&pxa2xx_clock_syscore_ops);
|
||||||
|
|
||||||
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
|
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
|
|
|
@ -462,7 +462,6 @@ static int __init pxa3xx_init(void)
|
||||||
|
|
||||||
register_syscore_ops(&pxa_irq_syscore_ops);
|
register_syscore_ops(&pxa_irq_syscore_ops);
|
||||||
register_syscore_ops(&pxa3xx_mfp_syscore_ops);
|
register_syscore_ops(&pxa3xx_mfp_syscore_ops);
|
||||||
register_syscore_ops(&pxa_gpio_syscore_ops);
|
|
||||||
register_syscore_ops(&pxa3xx_clock_syscore_ops);
|
register_syscore_ops(&pxa3xx_clock_syscore_ops);
|
||||||
|
|
||||||
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
|
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
|
|
|
@ -283,7 +283,6 @@ static int __init pxa95x_init(void)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
register_syscore_ops(&pxa_irq_syscore_ops);
|
register_syscore_ops(&pxa_irq_syscore_ops);
|
||||||
register_syscore_ops(&pxa_gpio_syscore_ops);
|
|
||||||
register_syscore_ops(&pxa3xx_clock_syscore_ops);
|
register_syscore_ops(&pxa3xx_clock_syscore_ops);
|
||||||
|
|
||||||
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
|
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
|
|
Loading…
Reference in New Issue