diff options
Diffstat (limited to 'include/linux/hw_random.h')
-rw-r--r-- | include/linux/hw_random.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/hw_random.h b/include/linux/hw_random.h index 914bb08cd738..eb7b414d232b 100644 --- a/include/linux/hw_random.h +++ b/include/linux/hw_random.h | |||
@@ -12,8 +12,10 @@ | |||
12 | #ifndef LINUX_HWRANDOM_H_ | 12 | #ifndef LINUX_HWRANDOM_H_ |
13 | #define LINUX_HWRANDOM_H_ | 13 | #define LINUX_HWRANDOM_H_ |
14 | 14 | ||
15 | #include <linux/completion.h> | ||
15 | #include <linux/types.h> | 16 | #include <linux/types.h> |
16 | #include <linux/list.h> | 17 | #include <linux/list.h> |
18 | #include <linux/kref.h> | ||
17 | 19 | ||
18 | /** | 20 | /** |
19 | * struct hwrng - Hardware Random Number Generator driver | 21 | * struct hwrng - Hardware Random Number Generator driver |
@@ -44,6 +46,8 @@ struct hwrng { | |||
44 | 46 | ||
45 | /* internal. */ | 47 | /* internal. */ |
46 | struct list_head list; | 48 | struct list_head list; |
49 | struct kref ref; | ||
50 | struct completion cleanup_done; | ||
47 | }; | 51 | }; |
48 | 52 | ||
49 | /** Register a new Hardware Random Number Generator driver. */ | 53 | /** Register a new Hardware Random Number Generator driver. */ |