mac-hid: fix build after lockdep annotation
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
753d7054c3
commit
a92910723a
1 changed files with 2 additions and 2 deletions
|
@ -114,8 +114,8 @@ static int emumousebtn_input_register(void)
|
|||
if (!emumousebtn)
|
||||
return -ENOMEM;
|
||||
|
||||
lockdep_set_class(emumousebtn->event_lock, &emumousebtn_event_class);
|
||||
lockdep_set_class(emumousebtn->mutex, &emumousebtn_mutex_class);
|
||||
lockdep_set_class(&emumousebtn->event_lock, &emumousebtn_event_class);
|
||||
lockdep_set_class(&emumousebtn->mutex, &emumousebtn_mutex_class);
|
||||
|
||||
emumousebtn->name = "Macintosh mouse button emulation";
|
||||
emumousebtn->id.bustype = BUS_ADB;
|
||||
|
|
Loading…
Reference in a new issue