Skip to contentSkip to conversation

hwrng: bcm63xx - fix device tree compilation

PATCH Applied Álvaro Fernández Rojas 2 participants 2 messages Apr 3, 2016 – Apr 5, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/char/hw_random/bcm63xx-rng.c | 1 +
 1 file changed, 1 insertion(+)
drivers/char/hw_random/bcm63xx-rng.c +1 -0
index ca9c403..5132c9c 100644
@@ -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)
Signature · 1 line
2.1.4
maintainer Applied
#1 lore raw
Quoted 4 lines · Álvaro Fernández Rojas

Adds missing include that resulted in implicit device tree functions errors.

Fixes 7b651706712b ("hwrng: bcm63xx - add device tree support")

Applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt