Re: [PATCH] iTCO_wdt: add platform driver module alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 22, 2012 at 04:41:00PM +0100, Jan Beulich wrote:
> The recent conversion of iTCO_wdt resulted in the driver no longer
> getting loaded automatically, since it no longer has a
> MODULE_DEVICE_TABLE() included. As the lpc_ich driver now creates a
> platform device, auto-loading can easily be done by having a respective
> module alias in place.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Cc: Aaron Sierra <asierra@xxxxxxxxxxx>
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> 
Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>

> ---
>  drivers/watchdog/iTCO_wdt.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- 3.5-rc3/drivers/watchdog/iTCO_wdt.c
> +++ 3.5-rc3-iTCO_wdt-autoload/drivers/watchdog/iTCO_wdt.c
> @@ -699,3 +699,4 @@ MODULE_DESCRIPTION("Intel TCO WatchDog T
>  MODULE_VERSION(DRV_VERSION);
>  MODULE_LICENSE("GPL");
>  MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
> +MODULE_ALIAS("platform:" DRV_NAME);
> 
> 
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux