summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/powernv-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/powernv-rng.c')
-rw-r--r--drivers/char/hw_random/powernv-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/powernv-rng.c b/drivers/char/hw_random/powernv-rng.c
index 429e956f34e1..47b88de029f2 100644
--- a/drivers/char/hw_random/powernv-rng.c
+++ b/drivers/char/hw_random/powernv-rng.c
@@ -11,6 +11,7 @@
#include <linux/platform_device.h>
#include <linux/random.h>
#include <linux/hw_random.h>
+#include <asm/archrandom.h>
static int powernv_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
{