Skip to content

Commit

Permalink
hwrng: bcm63xx - fix device tree compilation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Noltari authored and herbertx committed Apr 5, 2016
1 parent ef609c2 commit 47cd306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/hw_random/bcm63xx-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 47cd306

Please sign in to comment.