diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/char/qtronix.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/char/qtronix.c')
-rw-r--r-- | drivers/char/qtronix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/qtronix.c b/drivers/char/qtronix.c index 9d134e98d2a0..5c9477741a30 100644 --- a/drivers/char/qtronix.c +++ b/drivers/char/qtronix.c | |||
@@ -93,7 +93,7 @@ struct cir_port *cir; | |||
93 | static unsigned char kbdbytes[5]; | 93 | static unsigned char kbdbytes[5]; |
94 | static unsigned char cir_data[32]; /* we only need 16 chars */ | 94 | static unsigned char cir_data[32]; /* we only need 16 chars */ |
95 | 95 | ||
96 | static void kbd_int_handler(int irq, void *dev_id, struct pt_regs *regs); | 96 | static void kbd_int_handler(int irq, void *dev_id); |
97 | static int handle_data(unsigned char *p_data); | 97 | static int handle_data(unsigned char *p_data); |
98 | static inline void handle_mouse_event(unsigned char scancode); | 98 | static inline void handle_mouse_event(unsigned char scancode); |
99 | static inline void handle_keyboard_event(unsigned char scancode, int down); | 99 | static inline void handle_keyboard_event(unsigned char scancode, int down); |
@@ -197,7 +197,7 @@ int CheckSumOk(u_int8_t byte1, u_int8_t byte2, | |||
197 | } | 197 | } |
198 | 198 | ||
199 | 199 | ||
200 | static void kbd_int_handler(int irq, void *dev_id, struct pt_regs *regs) | 200 | static void kbd_int_handler(int irq, void *dev_id) |
201 | { | 201 | { |
202 | struct cir_port *cir; | 202 | struct cir_port *cir; |
203 | int j; | 203 | int j; |