Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1370209 > unrolled thread
| Started by | Álvaro Fernández Rojas <noltari@gmail.com> |
|---|---|
| First post | 2016-04-03 14:20 +0200 |
| Last post | 2016-04-05 14:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[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
| From | Álvaro Fernández Rojas <noltari@gmail.com> |
|---|---|
| Date | 2016-04-03 14:20 +0200 |
| Subject | [PATCH] hwrng: bcm63xx - fix device tree compilation |
| Message-ID | <rjPay-3aR-19@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Date | 2016-04-05 14:30 +0200 |
| Message-ID | <rkyhk-3jr-23@gated-at.bofh.it> |
| In reply to | #1370209 |
On Sun, Apr 03, 2016 at 02:18:22PM +0200, Álvaro Fernández Rojas wrote:
> 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>
Applied.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web