File: kernel-2.4-keybdev-patch.diff

package info (click to toggle)
vdr-plugin-remote 0.3.3-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 212 kB
  • ctags: 118
  • sloc: ansic: 1,337; makefile: 105; sh: 79
file content (12 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
--- keybdev.c.org	Thu Jun 26 00:10:52 2003
+++ keybdev.c	Mon Oct 13 13:58:45 2003
@@ -191,6 +191,9 @@ static struct input_handle *keybdev_conn
 	if (i == BTN_MISC)
  		return NULL;
 
+	if (dev->name[0]=='D' && dev->name[1]=='V' && dev->name[2] == 'B')
+		return NULL;
+
 	if (!(handle = kmalloc(sizeof(struct input_handle), GFP_KERNEL)))
 		return NULL;
 	memset(handle, 0, sizeof(struct input_handle));