[PATCH] crypto/caam/jr.c: include linux/of_address.h

From: shh.xie
Date: Tue Nov 26 2013 - 02:50:08 EST


From: Shaohui Xie <Shaohui.Xie@xxxxxxxxxxxxx>

to avoid a compile error:

drivers/crypto/caam/jr.c: In function 'caam_jr_probe':
drivers/crypto/caam/jr.c:468:2: error: implicit declaration of function
'of_iomap' [-Werror=implicit-function-declaration]
drivers/crypto/caam/jr.c:468:7: warning: assignment makes pointer from
integer without a cast [enabled by default]

Signed-off-by: Shaohui Xie <Shaohui.Xie@xxxxxxxxxxxxx>
---
drivers/crypto/caam/jr.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/caam/jr.c b/drivers/crypto/caam/jr.c
index d23356d2..1d80bd3 100644
--- a/drivers/crypto/caam/jr.c
+++ b/drivers/crypto/caam/jr.c
@@ -6,6 +6,7 @@
*/

#include <linux/of_irq.h>
+#include <linux/of_address.h>

#include "compat.h"
#include "regs.h"
--
1.8.4.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/