hwrng: bcm63xx - fix device tree compilation
Subsystems (2)
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")
Signed-off-by Álvaro Fernández Rojas <[email protected]>
--- drivers/char/hw_random/bcm63xx-rng.c | 1 + 1 file changed, 1 insertion(+)
drivers/char/hw_random/bcm63xx-rng.c +1 -0
@@ -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
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")Signed-off-by Álvaro Fernández Rojas <[email protected]>
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