Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1370209
| From | Álvaro Fernández Rojas <noltari@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] hwrng: bcm63xx - fix device tree compilation |
| Date | 2016-04-03 14:20 +0200 |
| Message-ID | <rjPay-3aR-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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>
---
drivers/char/hw_random/bcm63xx-rng.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/hw_random/bcm63xx-rng.c b/drivers/char/hw_random/bcm63xx-rng.c
index ca9c403..5132c9c 100644
--- a/drivers/char/hw_random/bcm63xx-rng.c
+++ b/drivers/char/hw_random/bcm63xx-rng.c
@@ -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)
--
2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] hwrng: bcm63xx - fix device tree compilation Álvaro Fernández Rojas <noltari@gmail.com> - 2016-04-03 14:20 +0200 Re: [PATCH] hwrng: bcm63xx - fix device tree compilation Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-05 14:30 +0200
csiph-web