summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-04-03 14:18:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 14:23:11 +0200
commit47cd30608f3fc3dbb4fdf37300baca911e2dde34 (patch)
tree448eb5d549b5fd8db0e1d41bc6fabd4688bd9725
parentsunrpc: Fix skcipher/shash conversion (diff)
downloadlinux-47cd30608f3fc3dbb4fdf37300baca911e2dde34.tar.xz
linux-47cd30608f3fc3dbb4fdf37300baca911e2dde34.zip
hwrng: bcm63xx - fix device tree compilation
Adds missing include that resulted in implicit device tree functions errors. Fixes: 7b651706712b ("hwrng: bcm63xx - add device tree support") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/char/hw_random/bcm63xx-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/bcm63xx-rng.c b/drivers/char/hw_random/bcm63xx-rng.c
index ca9c40309757..5132c9cde50d 100644
--- a/drivers/char/hw_random/bcm63xx-rng.c
+++ b/drivers/char/hw_random/bcm63xx-rng.c
@@ -12,6 +12,7 @@
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/hw_random.h>
+#include <linux/of.h>
#define RNG_CTRL 0x00
#define RNG_EN (1 << 0)