Re: [PATCH] watchdog: mpc8xxx: fix build failure

From: Grant Likely
Date: Thu Apr 07 2011 - 21:50:39 EST


Thanks Ira. Peter has already sent out a fix for tihs.

g.

On Thu, Apr 7, 2011 at 10:33 AM, Ira W. Snyder <iws@xxxxxxxxxxxxxxxx> wrote:
> Commit 1c48a5c93da63132b92c4bbcd18e690c51539df6 caused a build failure
> for the mpc8xxx watchdog driver. Fix it.
>
> Signed-off-by: Ira W. Snyder <iws@xxxxxxxxxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
> Cc: linux-watchdog@xxxxxxxxxxxxxxx
> ---
>  drivers/watchdog/mpc8xxx_wdt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
> index 6709d72..528bceb 100644
> --- a/drivers/watchdog/mpc8xxx_wdt.c
> +++ b/drivers/watchdog/mpc8xxx_wdt.c
> @@ -195,7 +195,7 @@ static int __devinit mpc8xxx_wdt_probe(struct platform_device *ofdev)
>
>        if (!ofdev->dev.of_match)
>                return -EINVAL;
> -       wdt_type = match->data;
> +       wdt_type = ofdev->dev.of_match->data;
>
>        if (!freq || freq == -1)
>                return -EINVAL;
> --
> 1.7.3.4
>
>



--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
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/