aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hpet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hpet.c')
-rw-r--r--drivers/char/hpet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index bc5ee99b9c23..73e6614cdf84 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -587,6 +587,8 @@ int hpet_register(struct hpet_task *tp, int periodic)
587 return -EINVAL; 587 return -EINVAL;
588 } 588 }
589 589
590 tp->ht_opaque = NULL;
591
590 spin_lock_irq(&hpet_task_lock); 592 spin_lock_irq(&hpet_task_lock);
591 spin_lock(&hpet_lock); 593 spin_lock(&hpet_lock);
592 594