[PATCH 2/2] ARM: PNX4008: fix watchdog device driver name

Wim Van Sebroeck wim at iguana.be
Fri Nov 20 09:09:12 EST 2009


Signed-off-by: Wim Van Sebroeck <wim at iguana.be>

> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> ---
>  drivers/watchdog/pnx4008_wdt.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
> index f24d041..4d227b1 100644
> --- a/drivers/watchdog/pnx4008_wdt.c
> +++ b/drivers/watchdog/pnx4008_wdt.c
> @@ -317,7 +317,7 @@ static int __devexit pnx4008_wdt_remove(struct platform_device *pdev)
>  
>  static struct platform_driver platform_wdt_driver = {
>  	.driver = {
> -		.name = "watchdog",
> +		.name = "pnx4008-watchdog",
>  		.owner	= THIS_MODULE,
>  	},
>  	.probe = pnx4008_wdt_probe,
> @@ -352,4 +352,4 @@ MODULE_PARM_DESC(nowayout,
>  
>  MODULE_LICENSE("GPL");
>  MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
> -MODULE_ALIAS("platform:watchdog");
> +MODULE_ALIAS("platform:pnx4008-watchdog");
> -- 
> 1.6.2.5
> 



More information about the linux-arm-kernel mailing list