diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-04-03 08:18:22 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 08:23:11 -0400 |
commit | 47cd30608f3fc3dbb4fdf37300baca911e2dde34 (patch) | |
tree | 448eb5d549b5fd8db0e1d41bc6fabd4688bd9725 /drivers/char/hw_random/bcm63xx-rng.c | |
parent | ef609c238a8ea163cb0af759cc73c9e2555c89da (diff) |
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/bcm63xx-rng.c')
-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 @@ | |||
12 | #include <linux/clk.h> | 12 | #include <linux/clk.h> |
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/hw_random.h> | 14 | #include <linux/hw_random.h> |
15 | #include <linux/of.h> | ||
15 | 16 | ||
16 | #define RNG_CTRL 0x00 | 17 | #define RNG_CTRL 0x00 |
17 | #define RNG_EN (1 << 0) | 18 | #define RNG_EN (1 << 0) |