Messages in this thread |  | | | Date | Mon, 26 Mar 2012 19:36:24 +0200 | | From | Andrew Lunn <> | | Subject | Re: [PATCH RFT v2] watchdog: Convert orion_wdt driver to watchdog core |
| |
> > static int __devinit orion_wdt_probe(struct platform_device *pdev) > > @@ -241,26 +146,28 @@ static int __devinit orion_wdt_probe(struct platform_device *pdev) > > struct resource *res; > > int ret; > > > > - if (pdata) { > > - wdt_tclk = pdata->tclk; > > - } else { > > + if (!pdata) { > > pr_err("misses platform data\n"); > > return -ENODEV; > > } > > Platform data is changing soon with devicetree support (and converting > to common clock). Please don't change this if you don't need to. > > Also, I'll include Andrew Lunn in the CC. He's doing the conversion of > orion over to common clock, which affects this driver.
Yep,
Once the merge is over and the first -rc kernel is released, i will post my patches rebased on that. For wdt, clk is no longer in the platform data.
Andrew
|  |