diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-04-03 15:18:22 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 15:23:11 +0300 |
commit | 47cd30608f3fc3dbb4fdf37300baca911e2dde34 (patch) | |
tree | 448eb5d549b5fd8db0e1d41bc6fabd4688bd9725 /drivers/char/hw_random | |
parent | ef609c238a8ea163cb0af759cc73c9e2555c89da (diff) | |
download | linux-47cd30608f3fc3dbb4fdf37300baca911e2dde34.tar.xz |
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>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r-- | drivers/char/hw_random/bcm63xx-rng.c | 1 |
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) |