aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
114 if (!emumousebtn) 114 if (!emumousebtn)
115 return -ENOMEM; 115 return -ENOMEM;
116 116
117 lockdep_set_class(emumousebtn->event_lock, &emumousebtn_event_class); 117 lockdep_set_class(&emumousebtn->event_lock, &emumousebtn_event_class);
118 lockdep_set_class(emumousebtn->mutex, &emumousebtn_mutex_class); 118 lockdep_set_class(&emumousebtn->mutex, &emumousebtn_mutex_class);
119 119
120 emumousebtn->name = "Macintosh mouse button emulation"; 120 emumousebtn->name = "Macintosh mouse button emulation";
121 emumousebtn->id.bustype = BUS_ADB; 121 emumousebtn->id.bustype = BUS_ADB;