On Saturday 08 September 2012 11:34 PM, Aaro Koskinen wrote:
> -static struct platform_device *omap_wdt_dev;
> -
>  static unsigned timer_margin;
>  module_param(timer_margin, uint, 0);
>  MODULE_PARM_DESC(timer_margin, "initial watchdog timeout (in seconds)");
>  
> -static unsigned int wdt_trgr_pattern = 0x1234;
> -static DEFINE_SPINLOCK(wdt_lock);
> -
you may want to describe this more.
>  struct omap_wdt_dev {
>       void __iomem    *base;          /* physical */
>       struct device   *dev;
> -     int             omap_wdt_users;
> +     bool            omap_wdt_users;
>       struct resource *mem;
> -     struct miscdevice omap_wdt_miscdev;
> +     int             wdt_trgr_pattern;
> +     struct mutex    lock;           /* to avoid races with PM */
>  };
>  

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to