[PATCH] watchdog: Add support for the Avionic Design Xanthos watchdog timer.

Andrew Morton akpm at linux-foundation.org
Fri Aug 21 18:34:29 EDT 2009


On Fri, 21 Aug 2009 15:10:02 +0200
Thierry Reding <thierry.reding at avionic-design.de> wrote:

> This patch adds support for the watchdog timer on Avionic Design Xanthos
> boards.
> 
>
> ...
>
> +static struct watchdog_info adx_wdt_info = {
> +	.identity = "Avionic Design Xanthos Watchdog",

heh, that fits with zero bytes to spare.

>
> ...
>
> +static const struct file_operations adx_wdt_fops = {
> +	.owner = THIS_MODULE,
> +	.llseek = no_llseek,
> +	.open = adx_wdt_open,
> +	.release = adx_wdt_release,
> +	.ioctl = adx_wdt_ioctl,

Nope.  All other watchdog drivers use .unlocked_ioctl and this one
should as well, please.

> +	.write = adx_wdt_write,
> +};




More information about the linux-arm-kernel mailing list