aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/random.c')
-rw-r--r--arch/um/drivers/random.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/drivers/random.c b/arch/um/drivers/random.c
index ae9909415b9c..73b2bdd6d2d3 100644
--- a/arch/um/drivers/random.c
+++ b/arch/um/drivers/random.c
@@ -20,6 +20,10 @@
20 20
21#define RNG_MISCDEV_MINOR 183 /* official */ 21#define RNG_MISCDEV_MINOR 183 /* official */
22 22
23/* Changed at init time, in the non-modular case, and at module load
24 * time, in the module case. Presumably, the module subsystem
25 * protects against a module being loaded twice at the same time.
26 */
23static int random_fd = -1; 27static int random_fd = -1;
24 28
25static int rng_dev_open (struct inode *inode, struct file *filp) 29static int rng_dev_open (struct inode *inode, struct file *filp)