]> git.pld-linux.org Git - packages/acerhk.git/blame - acerhk-source_lp_bug555828-2.6.37.patch
- added patches against newer kernels, rel. 50
[packages/acerhk.git] / acerhk-source_lp_bug555828-2.6.37.patch
CommitLineData
0dc0267f
TP
1diff -upN acerhk.old//acerhk.c acerhk//acerhk.c
2--- acerhk.old//acerhk.c 2011-01-30 01:08:21.276542993 +0200
3+++ acerhk//acerhk.c 2011-01-30 01:11:57.692542994 +0200
4@@ -2827,10 +2827,10 @@ static void acerhk_proc_cleanup(void)
5
6 /* {{{ file operations */
7
8-static int acerhk_ioctl( struct inode *inode, struct file *file,
9+static long acerhk_ioctl( struct file *file,
10 unsigned int cmd, unsigned long arg )
11 {
12- int retval;
13+ long retval;
14 switch( cmd ) {
15 case ACERHK_GET_KEYCOUNT:
16 {
17@@ -2938,7 +2938,7 @@ static int acerhk_resume(struct platform
18
19 static struct file_operations acerhk_fops = {
20 owner: THIS_MODULE,
21- ioctl: acerhk_ioctl,
22+ unlocked_ioctl: acerhk_ioctl,
23 open: acerhk_open,
24 #ifdef ACERDEBUG
25 write: acerhk_write,
26Common subdirectories: acerhk.old//debian and acerhk//debian
27Common subdirectories: acerhk.old//doc and acerhk//doc
28Common subdirectories: acerhk.old//.tmp_versions and acerhk//.tmp_versions
This page took 0.081429 seconds and 4 git commands to generate.