Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63504
b: refs/heads/master
c: f1a08cc
h: refs/heads/master
v: v3
  • Loading branch information
Wim Van Sebroeck committed Jul 23, 2007
1 parent c77f160 commit 8cd5289
Show file tree
Hide file tree
Showing 2 changed files with 3 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: de81225a8719494f5149980ea8a50de28da653f6
refs/heads/master: f1a08cc9a1a8f1da79ca751469ecff82be110482
7 changes: 2 additions & 5 deletions trunk/drivers/char/watchdog/davinci_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,14 @@ static ssize_t
davinci_wdt_write(struct file *file, const char *data, size_t len,
loff_t *ppos)
{
/* Can't seek (pwrite) on this device */
if (ppos != &file->f_pos)
return -ESPIPE;

if (len)
wdt_service();

return len;
}

static struct watchdog_info ident = {
.options = WDIOF_CARDRESET | WDIOF_KEEPALIVEPING,
.options = WDIOF_KEEPALIVEPING,
.identity = "DaVinci Watchdog",
};

Expand All @@ -160,6 +156,7 @@ davinci_wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
break;

case WDIOC_GETSTATUS:
case WDIOC_GETBOOTSTATUS:
ret = put_user(0, (int *)arg);
break;

Expand Down

0 comments on commit 8cd5289

Please sign in to comment.