ac100 team mailing list archive
-
ac100 team
-
Mailing list archive
-
Message #00845
Re: [PATCH] staging: nvec: Update for recent MFD core changes
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");