Skip to content

Commit

Permalink
ARM: PNX4008: fix watchdog device driver name
Browse files Browse the repository at this point in the history
The PNX core code calls the device 'pnx4008-watchdog' not 'watchdog'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Russell King committed Nov 20, 2009
1 parent 4ff1fa2 commit 1508c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/watchdog/pnx4008_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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");

0 comments on commit 1508c99

Please sign in to comment.