updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / acerhk / 2.6.36.patch
blobf3c54090b92c2337cc1430f572e7e6f4a1fe7100
1 --- acerhk.c.orig 2010-10-22 23:33:34.195981177 +0200
2 +++ acerhk.c 2010-10-22 23:39:16.349277070 +0200
3 @@ -2793,8 +2793,7 @@ static void acerhk_proc_cleanup(void)
5 /* {{{ file operations */
7 -static int acerhk_ioctl( struct inode *inode, struct file *file,
8 - unsigned int cmd, unsigned long arg )
9 +static long acerhk_unlocked_ioctl(struct file *file,unsigned int cmd, unsigned long arg )
11 int retval;
12 switch( cmd ) {
13 @@ -2904,7 +2903,7 @@ static int acerhk_resume(struct platform
15 static struct file_operations acerhk_fops = {
16 owner: THIS_MODULE,
17 - ioctl: acerhk_ioctl,
18 + unlocked_ioctl: acerhk_unlocked_ioctl,
19 open: acerhk_open,
20 #ifdef ACERDEBUG
21 write: acerhk_write,