diff options
| author | Vojtech Pavlik <vojtech@suse.cz> | 2003-02-12 12:41:07 +0100 |
|---|---|---|
| committer | Vojtech Pavlik <vojtech@suse.cz> | 2003-02-12 12:41:07 +0100 |
| commit | 7a4d842a773aced09bab3067bdde833fce49bd8a (patch) | |
| tree | 7770a7da11b076377dd57373f8ef9f41356f588c /include/linux/hiddev.h | |
| parent | bb5cc62fe723cd7235a5320651903c453d9f8f20 (diff) | |
input: Get rid of the kbd_pt_regs variable, and instead pass the
value all the way from an interrupt handler to keyboard.c
that can display it.
Diffstat (limited to 'include/linux/hiddev.h')
| -rw-r--r-- | include/linux/hiddev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hiddev.h b/include/linux/hiddev.h index a2e1c8e09020..dc6d8dd843b5 100644 --- a/include/linux/hiddev.h +++ b/include/linux/hiddev.h @@ -204,7 +204,7 @@ struct hiddev_usage_ref { int hiddev_connect(struct hid_device *); void hiddev_disconnect(struct hid_device *); void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, - struct hid_usage *usage, __s32 value); + struct hid_usage *usage, __s32 value, struct pt_regs *regs); void hiddev_report_event(struct hid_device *hid, struct hid_report *report); int __init hiddev_init(void); void __exit hiddev_exit(void); @@ -212,7 +212,7 @@ void __exit hiddev_exit(void); static inline int hiddev_connect(struct hid_device *hid) { return -1; } static inline void hiddev_disconnect(struct hid_device *hid) { } static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, - struct hid_usage *usage, __s32 value) { } + struct hid_usage *usage, __s32 value, struct pt_regs *regs) { } static inline void hiddev_report_event(struct hid_device *hid, struct hid_report *report) { } static inline int hiddev_init(void) { return 0; } static inline void hiddev_exit(void) { } |
