Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107804
b: refs/heads/master
c: f78b0a8
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Wim Van Sebroeck committed May 27, 2008
1 parent a587216 commit 1e39dfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 6f932f18de7f0e22a1bdae5d0040eb5d8e4a6777
refs/heads/master: f78b0a8f27618b492dd2e1a8f5e4ce6f89b3c961
11 changes: 5 additions & 6 deletions trunk/drivers/watchdog/davinci_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#include <linux/bitops.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/io.h>

#include <asm/hardware.h>
#include <asm/uaccess.h>
#include <asm/io.h>

#define MODULE_NAME "DAVINCI-WDT: "

Expand Down Expand Up @@ -143,9 +143,8 @@ static struct watchdog_info ident = {
.identity = "DaVinci Watchdog",
};

static int
davinci_wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg)
static long davinci_wdt_ioctl(struct file *file,
unsigned int cmd, unsigned long arg)
{
int ret = -ENOTTY;

Expand Down Expand Up @@ -184,7 +183,7 @@ static const struct file_operations davinci_wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = davinci_wdt_write,
.ioctl = davinci_wdt_ioctl,
.unlocked_ioctl = davinci_wdt_ioctl,
.open = davinci_wdt_open,
.release = davinci_wdt_release,
};
Expand Down

0 comments on commit 1e39dfc

Please sign in to comment.