summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8925-core.c
diff options
context:
space:
mode:
authorQing Xu <qingx@marvell.com>2013-02-04 16:40:44 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-14 00:23:00 +0100
commit678e8cb50647a7580b8122937e8e6e50d949267d (patch)
treeb46444977807638579b0d3b0baa5020811abdf8e /drivers/mfd/max8925-core.c
parentmfd: max8925: Fix mfd device register failure (diff)
downloadlinux-678e8cb50647a7580b8122937e8e6e50d949267d.tar.xz
linux-678e8cb50647a7580b8122937e8e6e50d949267d.zip
mfd: max8925: Fix onkey driver irq base
update onkey driver's irq base, it should get from max8925, but not save in a private value Signed-off-by: Qing Xu <qingx@marvell.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/max8925-core.c')
-rw-r--r--drivers/mfd/max8925-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c
index d7abbb354acd..f0cc40296d8c 100644
--- a/drivers/mfd/max8925-core.c
+++ b/drivers/mfd/max8925-core.c
@@ -867,7 +867,7 @@ int max8925_device_init(struct max8925_chip *chip,
ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0],
ARRAY_SIZE(onkey_devs),
- NULL, 0, NULL);
+ NULL, chip->irq_base, NULL);
if (ret < 0) {
dev_err(chip->dev, "Failed to add onkey subdev\n");
goto out_dev;