Skip to contentSkip to conversation

staging: nvec: Update for recent MFD core changes

PATCH In review Thierry Reding 2 participants 3 messages Sep 14, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: nvec: Update for recent MFD core changes

mfd_add_devices() was recently changed to receive the IRQ domain through an additional parameter but this driver wasn't updated accordingly.

---
 drivers/staging/nvec/nvec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/nvec/nvec.c +1 -1
index b0972d0..24d8eeb 100644
@@ -837,7 +837,7 @@ static int __devinit tegra_nvec_probe(struct platform_device *pdev)
 	}
 
 	ret = mfd_add_devices(nvec->dev, -1, nvec_devices,
-			      ARRAY_SIZE(nvec_devices), base, 0);
+			      ARRAY_SIZE(nvec_devices), base, 0, NULL);
 	if (ret)
 		dev_err(nvec->dev, "error adding subdevices\n");
 
Signature · 1 line
1.7.12
maintainer
#1 lore raw

Hi Thierry,

Am Freitag, 14. September 2012, 13:44:24 schrieb Thierry Reding:

Quoted 5 lines

mfd_add_devices() was recently changed to receive the IRQ domain through an additional parameter but this driver wasn't updated accordingly.

---

this was already kindly fixed by Stephen Warren a few days ago and will be included in linux-next.

Marc

Quoted 15 lines
 drivers/staging/nvec/nvec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/nvec/nvec.c +1 -1
index b0972d0..24d8eeb 100644
@@ -837,7 +837,7 @@ static int __devinit tegra_nvec_probe(struct
 platform_device *pdev) }
 
 	ret = mfd_add_devices(nvec->dev, -1, nvec_devices,
-			      ARRAY_SIZE(nvec_devices), base, 0);
+			      ARRAY_SIZE(nvec_devices), base, 0, NULL);
 	if (ret)
 		dev_err(nvec->dev, "error adding subdevices\n");
#2 lore raw
Quoted 11 lines · Marc Dietrich

Hi Thierry,

Am Freitag, 14. September 2012, 13:44:24 schrieb Thierry Reding:

Quoted 5 lines

mfd_add_devices() was recently changed to receive the IRQ domain through an additional parameter but this driver wasn't updated accordingly.

---

this was already kindly fixed by Stephen Warren a few days ago and will be included in linux-next.

Okay. It wasn't fixed in next-20120914 so I supposed nobody had taken care of it yet.

Thierry