Skip to content

Commit 47cd306

Browse files
Noltariherbertx
authored andcommitted
hwrng: bcm63xx - fix device tree compilation
Adds missing include that resulted in implicit device tree functions errors. Fixes: 7b65170 ("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>
1 parent ef609c2 commit 47cd306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/hw_random/bcm63xx-rng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <linux/clk.h>
1313
#include <linux/platform_device.h>
1414
#include <linux/hw_random.h>
15+
#include <linux/of.h>
1516

1617
#define RNG_CTRL 0x00
1718
#define RNG_EN (1 << 0)

0 commit comments

Comments
 (0)