Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211700
b: refs/heads/master
c: 10d0ff8
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent 25302e1 commit 51bab62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37eca0d64a2dbeece25969ec0698e1ff72bdcf39
refs/heads/master: 10d0ff83078d5ef99aaf94a2aaceb740f5ced923
4 changes: 2 additions & 2 deletions trunk/drivers/input/misc/hp_sdc_rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int hp_sdc_rtc_do_read_bbrtc (struct rtc_time *rtctm)
t.endidx = 91;
t.seq = tseq;
t.act.semaphore = &tsem;
init_MUTEX_LOCKED(&tsem);
sema_init(&tsem, 0);

if (hp_sdc_enqueue_transaction(&t)) return -1;

Expand Down Expand Up @@ -698,7 +698,7 @@ static int __init hp_sdc_rtc_init(void)
return -ENODEV;
#endif

init_MUTEX(&i8042tregs);
sema_init(&i8042tregs, 1);

if ((ret = hp_sdc_request_timer_irq(&hp_sdc_rtc_isr)))
return ret;
Expand Down

0 comments on commit 51bab62

Please sign in to comment.