input: touchscreen: eeti_egalax_i2c: fix warning: initialization from incompatible pointer type

This commit is contained in:
黄涛
2011-11-07 11:43:50 +08:00
parent 3eb3998dc0
commit 2671ace5ab

View File

@@ -289,7 +289,7 @@ static int wakeup_controller(int gpio)
return ret;
}
static int egalax_cdev_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long args)
static long egalax_cdev_ioctl(struct file *filp, unsigned int cmd, unsigned long args)
{
//struct egalax_char_dev *cdev = file->private_data;
int ret=0;