summaryrefslogtreecommitdiff
path: root/drivers/mfd/ab8500-debugfs.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-02-26 14:09:41 +0400
committerLee Jones <lee.jones@linaro.org>2013-03-07 08:28:06 +0400
commite436ddff5748c459853bb3fb97550a9b8b647b8d (patch)
treea695e008556b4928df544f188c0b2fd3859fcccf /drivers/mfd/ab8500-debugfs.c
parent2377e52f7ca8ebe6ba9ad0e6173915538ee4808b (diff)
downloadlinux-e436ddff5748c459853bb3fb97550a9b8b647b8d.tar.xz
mfd: ab8500-debugfs: Add tests for ab8540 based platform initialisations
Signed-off-by: Alexandre Torgue <alexandre.torgue@stericsson.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Tested-by: Maxime COQUELIN <maxime.coquelin@stericsson.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r--drivers/mfd/ab8500-debugfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index 55d0ff4f5b23..969e43db8485 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -1943,6 +1943,8 @@ static int ab8500_debug_probe(struct platform_device *plf)
num_interrupt_lines = AB8505_NR_IRQS;
else if (is_ab9540(ab8500))
num_interrupt_lines = AB9540_NR_IRQS;
+ else if (is_ab8540(ab8500))
+ num_interrupt_lines = AB8540_NR_IRQS;
file = debugfs_create_file("interrupts", (S_IRUGO),
ab8500_dir, &plf->dev, &ab8500_interrupts_fops);