On Wed, Mar 30, 2011 at 03:48:22PM +0200, Peter Korsgaard wrote: > Since 1c48a5c93da6313 (dt: Eliminate of_platform_{,un}register_driver) > mpc8xxx_wdt no longer builds as it tries to refer to a 'match' variable > rather than ofdev->dev.of_match that it checks just before. > > Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx> Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx> > --- > 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.2.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html