From: Paul Gortmaker <paul.gortmaker@windriver•com>
To: michael@walle•cc, jason@lakedaemon•net
Cc: linux-crypto@vger•kernel.org, linux-next@vger•kernel.org,
Paul Gortmaker <paul.gortmaker@windriver•com>
Subject: [PATCH] crypto: fix build failure in mv_cesa.c (missing of header)
Date: Fri, 9 Mar 2012 14:58:25 -0500 [thread overview]
Message-ID: <1331323105-21034-1-git-send-email-paul.gortmaker@windriver.com> (raw)
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
next reply other threads:[~2012-03-09 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-09 19:58 Paul Gortmaker [this message]
2012-03-11 1:42 ` [PATCH] crypto: fix build failure in mv_cesa.c (missing of header) Jason Cooper
2012-03-11 16:17 ` Paul Gortmaker
2012-03-12 2:32 ` Jason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331323105-21034-1-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver$(echo .)com \
--cc=jason@lakedaemon$(echo .)net \
--cc=linux-crypto@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=michael@walle$(echo .)cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox