summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-01-18 20:19:16 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-20 17:45:26 +0100
commit0a35ee4783975b7238e20044445962fb4fe82cf5 (patch)
treeba70960a95da1bffda39de58be7636372c56e169 /drivers
parent4a55320117e2ca4ed9002a365d7e209d73abcdf1 (diff)
downloadlinux-0a35ee4783975b7238e20044445962fb4fe82cf5.tar.gz
linux-0a35ee4783975b7238e20044445962fb4fe82cf5.tar.bz2
linux-0a35ee4783975b7238e20044445962fb4fe82cf5.zip
mfd: Initialize tps65910 irq platform data properly
irq_base of the tps65910 irq platform data should be initialized with the board provided irq_base data. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/tps65910.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 01cf5012a08f..4392f6bca156 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -168,7 +168,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
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;
tps65910_gpio_init(tps65910, pmic_plat_data->gpio_base);