aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/random.h')
-rw-r--r--include/linux/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/random.h b/include/linux/random.h
index ad9daa2374d5..adbf3bd3c6b3 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -8,6 +8,7 @@
8#define _LINUX_RANDOM_H 8#define _LINUX_RANDOM_H
9 9
10#include <linux/ioctl.h> 10#include <linux/ioctl.h>
11#include <linux/irqnr.h>
11 12
12/* ioctl()'s for the random number generator */ 13/* ioctl()'s for the random number generator */
13 14
@@ -49,7 +50,6 @@ struct timer_rand_state;
49 50
50extern struct timer_rand_state *irq_timer_state[]; 51extern struct timer_rand_state *irq_timer_state[];
51 52
52extern int nr_irqs;
53static inline struct timer_rand_state *get_timer_rand_state(unsigned int irq) 53static inline struct timer_rand_state *get_timer_rand_state(unsigned int irq)
54{ 54{
55 if (irq >= nr_irqs) 55 if (irq >= nr_irqs)