summaryrefslogtreecommitdiffstats
path: root/drivers/char/acquirewdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/acquirewdt.c')
-rw-r--r--drivers/char/acquirewdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/acquirewdt.c b/drivers/char/acquirewdt.c
index aeb7b72fc..8d2600f41 100644
--- a/drivers/char/acquirewdt.c
+++ b/drivers/char/acquirewdt.c
@@ -62,7 +62,7 @@ static void acq_ping(void)
inb_p(WDT_START);
}
-static long acq_write(struct inode *inode, struct file *file, const char *buf, unsigned long count)
+static ssize_t acq_write(struct file *file, const char *buf, size_t count, loff_t *ppos)
{
if(count)
{
@@ -72,7 +72,7 @@ static long acq_write(struct inode *inode, struct file *file, const char *buf, u
return 0;
}
-static long acq_read(struct inode *inode, struct file *file, char *buf, unsigned long count)
+static ssize_t acq_read(struct file *file, char *buf, size_t count, loff_t *ppos)
{
return -EINVAL;
}