diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:38:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:38:14 -0400 |
commit | ce1d5b23a8d1e19866ab82bdec0dc41fde5273d8 (patch) | |
tree | 028c80655ee8853ebf607d435bc3d6ab223aef1f /drivers/macintosh | |
parent | ad5e1b0f5d913d2c8bddfba81049cc07228da1a6 (diff) | |
parent | 308f0a5898033691d050374a949bbfe173987a16 (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: (40 commits)
Input: wacom - add support for Cintiq 20WSX
Input: ucb1400_ts - IRQ probe fix
Input: at32psif - update MODULE_AUTHOR with new email
Input: mac_hid - add lockdep annotation to emumousebtn
Input: i8042 - fix incorrect usage of strncpy and strncat
Input: bf54x-keys - add infrastructure for keypad wakeups
Input: add MODULE_ALIAS() to hotpluggable platform modules
Input: drivers/char/keyboard.c - use time_after
Input: fix ordering in joystick Makefile
Input: wm97xx-core - support use as a wakeup source
Input: wm97xx-core - use IRQF_SAMPLE_RANDOM
Input: wm97xx-core - only schedule interrupt handler if not already scheduled
Input: add Zhen Hua driver
Input: aiptek - add support for Genius G-PEN 560 tablet
Input: wacom - implement suspend and autosuspend
Input: xpad - set proper buffer length for outgoing requests
Input: omap-keypad - fix build warning
Input: gpio_keys - irq handling cleanup
Input: add PS/2 serio driver for AVR32 devices
Input: put ledstate in the keyboard notifier
...
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/mac_hid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c index 89302309da9..f972ff377b6 100644 --- a/drivers/macintosh/mac_hid.c +++ b/drivers/macintosh/mac_hid.c | |||
@@ -103,6 +103,9 @@ int mac_hid_mouse_emulate_buttons(int caller, unsigned int keycode, int down) | |||
103 | return 0; | 103 | return 0; |
104 | } | 104 | } |
105 | 105 | ||
106 | static struct lock_class_key emumousebtn_event_class; | ||
107 | static struct lock_class_key emumousebtn_mutex_class; | ||
108 | |||
106 | static int emumousebtn_input_register(void) | 109 | static int emumousebtn_input_register(void) |
107 | { | 110 | { |
108 | int ret; | 111 | int ret; |
@@ -111,6 +114,9 @@ static int emumousebtn_input_register(void) | |||
111 | if (!emumousebtn) | 114 | if (!emumousebtn) |
112 | return -ENOMEM; | 115 | return -ENOMEM; |
113 | 116 | ||
117 | lockdep_set_class(emumousebtn->event_lock, &emumousebtn_event_class); | ||
118 | lockdep_set_class(emumousebtn->mutex, &emumousebtn_mutex_class); | ||
119 | |||
114 | emumousebtn->name = "Macintosh mouse button emulation"; | 120 | emumousebtn->name = "Macintosh mouse button emulation"; |
115 | emumousebtn->id.bustype = BUS_ADB; | 121 | emumousebtn->id.bustype = BUS_ADB; |
116 | emumousebtn->id.vendor = 0x0001; | 122 | emumousebtn->id.vendor = 0x0001; |