Skip to content

Commit

Permalink
mac-hid: fix build after lockdep annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Harvey Harrison <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
hharrison authored and torvalds committed Apr 26, 2008
1 parent 753d705 commit a929107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/macintosh/mac_hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a929107

Please sign in to comment.