lkml.org 
[lkml]   [2014]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] watchdog: imx2_wdt: adds big endianness support.
Date
> > @@ -201,6 +204,10 @@ static int __init imx2_wdt_probe(struct platform_device
> *pdev)
> > if (!wdev)
> > return -ENOMEM;
> >
> > + big_endian = of_property_read_bool(np, "big-endian");
> > + if (big_endian)
> > + imx2_wdt_regmap_config.val_format_endian = REGMAP_ENDIAN_BIG;
> > +
>
> You'll need to document the use of this property in
> Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt.
>

Sorry for late.

Please see the next version.

Thanks,

BRs
Xiubo




> Guenter
>
> > res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > base = devm_ioremap_resource(&pdev->dev, res);
> > if (IS_ERR(base))
> >



\
 
 \ /
  Last update: 2014-06-03 06:01    [W:0.035 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site