Re: [PATCH] staging: nvec: Update for recent MFD core changes

From: Marc Dietrich
Date: Fri Sep 14 2012 - 08:25:48 EST


Hi Thierry,

Am Freitag, 14. September 2012, 13:44:24 schrieb Thierry Reding:
> mfd_add_devices() was recently changed to receive the IRQ domain through
> an additional parameter but this driver wasn't updated accordingly.
>
> Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
> ---

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

Marc

> drivers/staging/nvec/nvec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
> index b0972d0..24d8eeb 100644
> --- a/drivers/staging/nvec/nvec.c
> +++ b/drivers/staging/nvec/nvec.c
> @@ -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");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/