summaryrefslogtreecommitdiff
path: root/drivers/macintosh/mac_hid.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-26 05:40:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-26 05:57:09 +0400
commita92910723a5af54f81373875fd95133c88df94bd (patch)
tree2d2507cfd84dd1ffec6675c80fa8c0a09033adf4 /drivers/macintosh/mac_hid.c
parent753d7054c318f323a7c135c71c68171a6b6a88fc (diff)
downloadlinux-a92910723a5af54f81373875fd95133c88df94bd.tar.xz
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>
Diffstat (limited to 'drivers/macintosh/mac_hid.c')
-rw-r--r--drivers/macintosh/mac_hid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
index f972ff377b63..cc9f27514aef 100644
--- a/drivers/macintosh/mac_hid.c
+++ b/drivers/macintosh/mac_hid.c
@@ -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;