diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index af274e5a25ee..1756b1f7cb72 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -649,7 +649,7 @@ EXPORT_SYMBOL_GPL(add_input_randomness); | |||
649 | 649 | ||
650 | void add_interrupt_randomness(int irq) | 650 | void add_interrupt_randomness(int irq) |
651 | { | 651 | { |
652 | if (irq >= NR_IRQS || irq_timer_state[irq] == 0) | 652 | if (irq >= NR_IRQS || irq_timer_state[irq] == NULL) |
653 | return; | 653 | return; |
654 | 654 | ||
655 | DEBUG_ENT("irq event %d\n", irq); | 655 | DEBUG_ENT("irq event %d\n", irq); |