[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTik4baLHkRTkuKNE9hzwnKp4wX--5g@mail.gmail.com>
Date: Thu, 7 Apr 2011 18:49:49 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: "Ira W. Snyder" <iws@...o.caltech.edu>
Cc: linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org
Subject: Re: [PATCH] watchdog: mpc8xxx: fix build failure
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@...o.caltech.edu> wrote:
> Commit 1c48a5c93da63132b92c4bbcd18e690c51539df6 caused a build failure
> for the mpc8xxx watchdog driver. Fix it.
>
> Signed-off-by: Ira W. Snyder <iws@...o.caltech.edu>
> Cc: Grant Likely <grant.likely@...retlab.ca>
> Cc: linux-watchdog@...r.kernel.org
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists