Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374691
b: refs/heads/master
c: 60403f7
h: refs/heads/master
i:
  374689: 81d38e6
  374687: 6d29184
v: v3
  • Loading branch information
Guenter Roeck authored and Wim Van Sebroeck committed May 9, 2013
1 parent 4c92df9 commit 0a60a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 6330c7070be6783b82025d2bc259db8413c00182
refs/heads/master: 60403f7a4d9368d187f79cba5e4672d01df37574
3 changes: 2 additions & 1 deletion trunk/drivers/watchdog/watchdog_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ int watchdog_dev_register(struct watchdog_device *watchdog)
int err, devno;

if (watchdog->id == 0) {
old_wdd = watchdog;
watchdog_miscdev.parent = watchdog->parent;
err = misc_register(&watchdog_miscdev);
if (err != 0) {
Expand All @@ -531,9 +532,9 @@ int watchdog_dev_register(struct watchdog_device *watchdog)
if (err == -EBUSY)
pr_err("%s: a legacy watchdog module is probably present.\n",
watchdog->info->identity);
old_wdd = NULL;
return err;
}
old_wdd = watchdog;
}

/* Fill in the data structures */
Expand Down

0 comments on commit 0a60a54

Please sign in to comment.