Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254214
b: refs/heads/master
c: db98f89
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and Wim Van Sebroeck committed Jun 28, 2011
1 parent 9b692d6 commit 6ec94c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ea4e76e997019ae25ac3417aa46e31ddf7ecb17
refs/heads/master: db98f89a2807966c6e82601f5c57e1a9c214c91a
8 changes: 3 additions & 5 deletions trunk/drivers/watchdog/mtx-1_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ static struct {

static void mtx1_wdt_trigger(unsigned long unused)
{
u32 tmp;

spin_lock(&mtx1_wdt_device.lock);
if (mtx1_wdt_device.running)
ticks--;
Expand Down Expand Up @@ -248,7 +246,7 @@ static int __devexit mtx1_wdt_remove(struct platform_device *pdev)
return 0;
}

static struct platform_driver mtx1_wdt = {
static struct platform_driver mtx1_wdt_driver = {
.probe = mtx1_wdt_probe,
.remove = __devexit_p(mtx1_wdt_remove),
.driver.name = "mtx1-wdt",
Expand All @@ -257,12 +255,12 @@ static struct platform_driver mtx1_wdt = {

static int __init mtx1_wdt_init(void)
{
return platform_driver_register(&mtx1_wdt);
return platform_driver_register(&mtx1_wdt_driver);
}

static void __exit mtx1_wdt_exit(void)
{
platform_driver_unregister(&mtx1_wdt);
platform_driver_unregister(&mtx1_wdt_driver);
}

module_init(mtx1_wdt_init);
Expand Down

0 comments on commit 6ec94c4

Please sign in to comment.