summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-19 08:50:11 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-23 17:38:10 +0100
commitd5f39d3862a2f3620db10cc0c3f329f0d6f1f596 (patch)
treea44741ebcdf3bae4ddc0117c59772010365d3a65 /drivers
parentmfd: Fix ACPI conflict check (diff)
downloadlinux-d5f39d3862a2f3620db10cc0c3f329f0d6f1f596.tar.xz
linux-d5f39d3862a2f3620db10cc0c3f329f0d6f1f596.zip
mfd: Initialize tps65912 irq platform data properly
irq_base of the tps65912 irq platform data should be initialized with the board provided irq_base data. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/tps65912-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65912-core.c b/drivers/mfd/tps65912-core.c
index 5fec23a9ac03..74fd8cb5f372 100644
--- a/drivers/mfd/tps65912-core.c
+++ b/drivers/mfd/tps65912-core.c
@@ -151,7 +151,7 @@ int tps65912_device_init(struct tps65912 *tps65912)
goto err;
init_data->irq = pmic_plat_data->irq;
- init_data->irq_base = pmic_plat_data->irq;
+ init_data->irq_base = pmic_plat_data->irq_base;
ret = tps65912_irq_init(tps65912, init_data->irq, init_data);
if (ret < 0)
goto err;