diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 13:31:44 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 13:31:44 -0500 |
| commit | 238ccbb050a243e935bb3fc679c2e4bbff7004aa (patch) | |
| tree | 3381b895861f625b1524acfd32d4a90eb79108bd /include | |
| parent | c5113e3d66d7c7140fe854c7638a27eb3a23fd7d (diff) | |
| parent | 1d9f26262aef6d63ff65eba0fd5f1583f342b69b (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (22 commits)
Input: ALPS - add interleaved protocol support (Dell E6x00 series)
Input: keyboard - don't override beep with a bell
Input: altera_ps2 - fix test of unsigned in altera_ps2_probe()
Input: add mc13783 touchscreen driver
Input: ep93xx_keypad - update driver to new core support
Input: wacom - separate pen from express keys on Graphire
Input: wacom - add defines for data packet report IDs
Input: wacom - add support for new LCD tablets
Input: wacom - add defines for packet lengths of various devices
Input: wacom - ensure the device is initialized properly upon resume
Input: at32psif - do not sleep in atomic context
Input: i8042 - add Gigabyte M1022M to the noloop list
Input: i8042 - allow installing platform filters for incoming data
Input: i8042 - fix locking in interrupt routine
Input: ALPS - do not set REL_X/REL_Y capabilities on the touchpad
Input: document use of input_event() function
Input: sa1111ps2 - annotate probe() and remove() methods
Input: ambakmi - annotate probe() and remove() methods
Input: gscps2 - fix probe() and remove() annotations
Input: altera_ps2 - add annotations to probe and remove methods
...
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/i8042.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/linux/i8042.h b/include/linux/i8042.h index 60c3360ef6ad..9bf6870ee5f4 100644 --- a/include/linux/i8042.h +++ b/include/linux/i8042.h | |||
| @@ -39,6 +39,10 @@ void i8042_lock_chip(void); | |||
| 39 | void i8042_unlock_chip(void); | 39 | void i8042_unlock_chip(void); |
| 40 | int i8042_command(unsigned char *param, int command); | 40 | int i8042_command(unsigned char *param, int command); |
| 41 | bool i8042_check_port_owner(const struct serio *); | 41 | bool i8042_check_port_owner(const struct serio *); |
| 42 | int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, | ||
| 43 | struct serio *serio)); | ||
| 44 | int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, | ||
| 45 | struct serio *serio)); | ||
| 42 | 46 | ||
| 43 | #else | 47 | #else |
| 44 | 48 | ||
| @@ -52,7 +56,7 @@ void i8042_unlock_chip(void) | |||
| 52 | 56 | ||
| 53 | int i8042_command(unsigned char *param, int command) | 57 | int i8042_command(unsigned char *param, int command) |
| 54 | { | 58 | { |
| 55 | return -ENOSYS; | 59 | return -ENODEV; |
| 56 | } | 60 | } |
| 57 | 61 | ||
| 58 | bool i8042_check_port_owner(const struct serio *serio) | 62 | bool i8042_check_port_owner(const struct serio *serio) |
| @@ -60,6 +64,18 @@ bool i8042_check_port_owner(const struct serio *serio) | |||
| 60 | return false; | 64 | return false; |
| 61 | } | 65 | } |
| 62 | 66 | ||
| 67 | int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, | ||
| 68 | struct serio *serio)) | ||
| 69 | { | ||
| 70 | return -ENODEV; | ||
| 71 | } | ||
| 72 | |||
| 73 | int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, | ||
| 74 | struct serio *serio)) | ||
| 75 | { | ||
| 76 | return -ENODEV; | ||
| 77 | } | ||
| 78 | |||
| 63 | #endif | 79 | #endif |
| 64 | 80 | ||
| 65 | #endif | 81 | #endif |
