* [PATCH] watchdog: mpc8xxx: fix build failure
@ 2011-04-07 17:33 Ira W. Snyder
2011-04-08 1:49 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Ira W. Snyder @ 2011-04-07 17:33 UTC (permalink / raw)
To: linux-kernel; +Cc: Ira W. Snyder, Grant Likely, linux-watchdog
Commit 1c48a5c93da63132b92c4bbcd18e690c51539df6 caused a build failure
for the mpc8xxx watchdog driver. Fix it.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-watchdog@vger.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: mpc8xxx: fix build failure
2011-04-07 17:33 [PATCH] watchdog: mpc8xxx: fix build failure Ira W. Snyder
@ 2011-04-08 1:49 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2011-04-08 1:49 UTC (permalink / raw)
To: Ira W. Snyder; +Cc: linux-kernel, linux-watchdog
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@ovro.caltech.edu> wrote:
> Commit 1c48a5c93da63132b92c4bbcd18e690c51539df6 caused a build failure
> for the mpc8xxx watchdog driver. Fix it.
>
> Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: linux-watchdog@vger.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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-08 1:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 17:33 [PATCH] watchdog: mpc8xxx: fix build failure Ira W. Snyder
2011-04-08 1:49 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).