]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mac-hid: fix build after lockdep annotation
authorHarvey Harrison <harvey.harrison@gmail.com>
Sat, 26 Apr 2008 01:40:01 +0000 (18:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Apr 2008 01:57:09 +0000 (18:57 -0700)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/macintosh/mac_hid.c

index f972ff377b6362483f1bd2c312cba5c780165f86..cc9f27514aefe99a2e45da629e76050dab48a247 100644 (file)
@@ -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;