Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141946
b: refs/heads/master
c: 2b24ef0
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Len Brown committed Mar 27, 2009
1 parent 1dca356 commit ec13208
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1cae71032183776e833036fe828315dcd3444df1
refs/heads/master: 2b24ef093aec6d7b9c18af75644ec22b4069b283
6 changes: 3 additions & 3 deletions trunk/drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2224,8 +2224,8 @@ static int ec_read16(u8 addr, u16 *value)
return 0;
}

static int sonypi_misc_ioctl(struct inode *ip, struct file *fp,
unsigned int cmd, unsigned long arg)
static long sonypi_misc_ioctl(struct file *fp, unsigned int cmd,
unsigned long arg)
{
int ret = 0;
void __user *argp = (void __user *)arg;
Expand Down Expand Up @@ -2359,7 +2359,7 @@ static const struct file_operations sonypi_misc_fops = {
.open = sonypi_misc_open,
.release = sonypi_misc_release,
.fasync = sonypi_misc_fasync,
.ioctl = sonypi_misc_ioctl,
.unlocked_ioctl = sonypi_misc_ioctl,
};

static struct miscdevice sonypi_misc_device = {
Expand Down

0 comments on commit ec13208

Please sign in to comment.