Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286925
b: refs/heads/master
c: f6dd94f
h: refs/heads/master
i:
  286923: 3a76309
v: v3
  • Loading branch information
Axel Lin authored and Wim Van Sebroeck committed Jan 27, 2012
1 parent 2ef8f9d commit 8e2bea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b1785dfd4fcd4011834f914810c1acb46b007a44
refs/heads/master: f6dd94f8194408e11df4e33e1f7113612e84ca17
4 changes: 2 additions & 2 deletions trunk/drivers/watchdog/via_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ static int wdt_stop(struct watchdog_device *wdd)
static int wdt_set_timeout(struct watchdog_device *wdd,
unsigned int new_timeout)
{
if (new_timeout < 1 || new_timeout > WDT_TIMEOUT_MAX)
return -EINVAL;
writel(new_timeout, wdt_mem + VIA_WDT_COUNT);
timeout = new_timeout;
return 0;
Expand All @@ -150,6 +148,8 @@ static const struct watchdog_ops wdt_ops = {
static struct watchdog_device wdt_dev = {
.info = &wdt_info,
.ops = &wdt_ops,
.min_timeout = 1,
.max_timeout = WDT_TIMEOUT_MAX,
};

static int __devinit wdt_probe(struct pci_dev *pdev,
Expand Down

0 comments on commit 8e2bea3

Please sign in to comment.