lkml.org 
[lkml]   [2008]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[BUILDFIX PATCH] mac-hid: fix build after lockdep annotation
From
Date
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




\
 
 \ /
  Last update: 2008-04-26 03:43    [W:0.033 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site