diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-12-01 14:35:29 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2011-12-01 16:11:55 +0800 |
commit | 2a3267a489f1dc4284b64a4b88c62011946dc7ff (patch) | |
tree | b2e33b58cc6b6220645f05889a6f8e10dbbfe82f /lib/atomic64_test.c | |
parent | caca6a03d365883564885f2c1da3e88dcf65d139 (diff) | |
download | talos-op-linux-2a3267a489f1dc4284b64a4b88c62011946dc7ff.tar.gz talos-op-linux-2a3267a489f1dc4284b64a4b88c62011946dc7ff.zip |
arm/imx: fix return type of callback passed to of_irq_init()
The of_irq_init() expects the callback passed by .data of of_device_id
return 'int' instead of 'void'. This patch fixes it to have
irq_init_cb() return the correct value, and in turn have the secondary
interrupt controller (gpio in this case) initialized properly and also
eliminate the error message 'of_irq_init: children remain, but no
parents' which was overlooked before.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'lib/atomic64_test.c')
0 files changed, 0 insertions, 0 deletions