public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH] crypto: fix build failure in mv_cesa.c (missing of header)
@ 2012-03-09 19:58 Paul Gortmaker
  2012-03-11  1:42 ` Jason Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2012-03-09 19:58 UTC (permalink / raw)
  To: michael, jason; +Cc: linux-crypto, linux-next, Paul Gortmaker

Commit 737b75872487f560397ba34846a19823b1addf88 (linux-next)

    "ARM: kirkwood: mv_cesa devicetree bindings"

fails to compile as follows:

 CC      drivers/crypto/mv_cesa.o
 drivers/crypto/mv_cesa.c:1139: error: implicit declaration of function 'of_match_ptr'
 drivers/crypto/mv_cesa.c:1139: error: 'mv_cesa_dt_ids' undeclared here (not in a function)
 drivers/crypto/mv_cesa.c:1139: error: initializer element is not constant
 drivers/crypto/mv_cesa.c:1139: error: (near initialization for 'marvell_crypto.driver.of_match_table')

because it is missing the linux/of.h header file.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver•com>

diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index b7a3d48..093e214 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -10,6 +10,7 @@
 #include <crypto/algapi.h>
 #include <linux/crypto.h>
 #include <linux/interrupt.h>
+#include <linux/of.h>
 #include <linux/io.h>
 #include <linux/kthread.h>
 #include <linux/platform_device.h>
-- 
1.7.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-12  2:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09 19:58 [PATCH] crypto: fix build failure in mv_cesa.c (missing of header) Paul Gortmaker
2012-03-11  1:42 ` Jason Cooper
2012-03-11 16:17   ` Paul Gortmaker
2012-03-12  2:32     ` Jason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox