From: 黄涛 Date: Mon, 7 Nov 2011 03:43:50 +0000 (+0800) Subject: input: touchscreen: eeti_egalax_i2c: fix warning: initialization from incompatible... X-Git-Tag: firefly_0821_release~9757 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2671ace5ab5d407ca839183a237f17eafaf7ec47;p=firefly-linux-kernel-4.4.55.git input: touchscreen: eeti_egalax_i2c: fix warning: initialization from incompatible pointer type --- diff --git a/drivers/input/touchscreen/eeti_egalax_i2c.c b/drivers/input/touchscreen/eeti_egalax_i2c.c index c2d779f8814a..e52680dbd6fe 100755 --- a/drivers/input/touchscreen/eeti_egalax_i2c.c +++ b/drivers/input/touchscreen/eeti_egalax_i2c.c @@ -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;