Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101295
b: refs/heads/master
c: 77e38bf
h: refs/heads/master
i:
  101293: e3e3a14
  101291: c2e1c17
  101287: 472ff84
  101279: c3b7c5d
v: v3
  • Loading branch information
Alan Cox authored and Jean Delvare committed Jul 14, 2008
1 parent 5e525d7 commit 38f1ad8
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5bc1200852c3dfc312481f57622f48b289ac802e
refs/heads/master: 77e38bffe0fcaa48f0be68eaa1de4a59d1fd93ad
5 changes: 2 additions & 3 deletions trunk/drivers/i2c/i2c-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,7 @@ static noinline int i2cdev_ioctl_smbus(struct i2c_client *client,
return res;
}

static int i2cdev_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
static long i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
struct i2c_client *client = (struct i2c_client *)file->private_data;
unsigned long funcs;
Expand Down Expand Up @@ -487,7 +486,7 @@ static const struct file_operations i2cdev_fops = {
.llseek = no_llseek,
.read = i2cdev_read,
.write = i2cdev_write,
.ioctl = i2cdev_ioctl,
.unlocked_ioctl = i2cdev_ioctl,
.open = i2cdev_open,
.release = i2cdev_release,
};
Expand Down

0 comments on commit 38f1ad8

Please sign in to comment.