From 2671ace5ab5d407ca839183a237f17eafaf7ec47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 7 Nov 2011 11:43:50 +0800 Subject: [PATCH] input: touchscreen: eeti_egalax_i2c: fix warning: initialization from incompatible pointer type --- drivers/input/touchscreen/eeti_egalax_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1