Commit a9291072 authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds

mac-hid: fix build after lockdep annotation

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 753d7054
...@@ -114,8 +114,8 @@ static int emumousebtn_input_register(void) ...@@ -114,8 +114,8 @@ static int emumousebtn_input_register(void)
if (!emumousebtn) if (!emumousebtn)
return -ENOMEM; return -ENOMEM;
lockdep_set_class(emumousebtn->event_lock, &emumousebtn_event_class); lockdep_set_class(&emumousebtn->event_lock, &emumousebtn_event_class);
lockdep_set_class(emumousebtn->mutex, &emumousebtn_mutex_class); lockdep_set_class(&emumousebtn->mutex, &emumousebtn_mutex_class);
emumousebtn->name = "Macintosh mouse button emulation"; emumousebtn->name = "Macintosh mouse button emulation";
emumousebtn->id.bustype = BUS_ADB; emumousebtn->id.bustype = BUS_ADB;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment