[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1302197593-31815-1-git-send-email-iws@ovro.caltech.edu>
Date: Thu, 7 Apr 2011 10:33:13 -0700
From: "Ira W. Snyder" <iws@...o.caltech.edu>
To: linux-kernel@...r.kernel.org
Cc: "Ira W. Snyder" <iws@...o.caltech.edu>,
Grant Likely <grant.likely@...retlab.ca>,
linux-watchdog@...r.kernel.org
Subject: [PATCH] watchdog: mpc8xxx: fix build failure
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
--
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