input: touchscreen: eeti_egalax_i2c: fix warning: initialization from incompatible...
author黄涛 <huangtao@rock-chips.com>
Mon, 7 Nov 2011 03:43:50 +0000 (11:43 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 7 Nov 2011 03:43:50 +0000 (11:43 +0800)
drivers/input/touchscreen/eeti_egalax_i2c.c

index c2d779f8814aa8ec007682d9d883c63f3f32d4a9..e52680dbd6fefebe22caff87ae6b4b3ee2591146 100755 (executable)
@@ -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;