input: gsensor: mma8452: fix warning: initialization from incompatible pointer type
author黄涛 <huangtao@rock-chips.com>
Mon, 7 Nov 2011 06:49:37 +0000 (14:49 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 7 Nov 2011 06:49:37 +0000 (14:49 +0800)
drivers/input/gsensor/mma8452.c

index fe4775d281525275c9f0570179e0edac63056610..079cc0f504ae9f8432ffdbfa3c6d1ed6c401f794 100755 (executable)
@@ -457,9 +457,7 @@ static int mma8452_release(struct inode *inode, struct file *file)
        return 0;
 }
 
-//static int mma8452_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
-//        unsigned long arg)
-static int mma8452_ioctl( struct file *file, unsigned int cmd,unsigned long arg)
+static long mma8452_ioctl( struct file *file, unsigned int cmd,unsigned long arg)
 {
 
        void __user *argp = (void __user *)arg;