public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUILDFIX PATCH] mac-hid: fix build after lockdep annotation
@ 2008-04-26  1:40 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-04-26  1:40 UTC (permalink / raw)
  To: Linus Torvalds, Peter Zijlstra; +Cc: LKML

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 drivers/macintosh/mac_hid.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
index f972ff3..cc9f275 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;
-- 
1.5.5.1.270.g89765




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-26  1:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-26  1:40 [BUILDFIX PATCH] mac-hid: fix build after lockdep annotation Harvey Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox