Re: [PATCH] orion_wdt: Add platform alias

From: Wim Van Sebroeck
Date: Wed Jan 30 2013 - 16:56:20 EST


Hi Lubomir,

> ...so that it's automatically picked up on relevant platforms.
> Tested on Kirkwood-based GuruPlug.
>
> Signed-off-by: Lubomir Rintel <lkundrak@xxxxx>
> ---
> drivers/watchdog/orion_wdt.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c
> index c20f96b..c9dd66f 100644
> --- a/drivers/watchdog/orion_wdt.c
> +++ b/drivers/watchdog/orion_wdt.c
> @@ -223,4 +223,5 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
> __MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
>
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:orion_wdt");
> MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
> --
> 1.7.1
>

Added to linux-watchdog-next.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/