summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/watch.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-09 17:09:51 +0200
committerRalf Baechle <ralf@linux-mips.org>2016-07-24 12:30:28 +0200
commitf0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878 (patch)
tree8bee60e198740047e9f87c2afee68d9278d7e4fb /arch/mips/kernel/watch.c
parent3ef06653987d4c4536b408321edf0e5caa2a317f (diff)
downloadlinux-f0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878.tar.gz
linux-f0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878.tar.bz2
linux-f0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878.zip
MIPS: Lantiq: Fix eiu interrupt loading code
Using of_irq_count to load the irq index from the devicetree is incorrect. This will cause the kernel to map them regardless, even if they dont actually get used. Change the code to use of_property_count_u32_elems() instead which is the correct API to use in this case. Signed-off-by: John Crispin <john@phrozen.org> Cc: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/13601/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/watch.c')
0 files changed, 0 insertions, 0 deletions