summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-05-03 12:48:16 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:23 (GMT)
commitd44ba3405ce9def3dbb4a63236ea3b6441158212 (patch)
tree16f06a05e13e7adff70b58cd550cc6b63f8693d7
parent876788ab58014a34f65639e82ecd7b7acca78bcd (diff)
downloadlinux-d44ba3405ce9def3dbb4a63236ea3b6441158212.tar.xz
crypto: caam/qi2 - sync w/ core - add caam_imx
CAAM platform backend has been updated to automatically detect whether it is running on an i.MX platform or not. Add a dummy caam_imx symbol in caam/qi2 such that I/O accessors work correctly. Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
-rw-r--r--drivers/crypto/caam/caamalg_qi2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/caam/caamalg_qi2.c b/drivers/crypto/caam/caamalg_qi2.c
index 2fb41ec..598038a 100644
--- a/drivers/crypto/caam/caamalg_qi2.c
+++ b/drivers/crypto/caam/caamalg_qi2.c
@@ -61,6 +61,8 @@
#ifndef CONFIG_CRYPTO_DEV_FSL_CAAM
bool caam_little_end;
EXPORT_SYMBOL(caam_little_end);
+bool caam_imx;
+EXPORT_SYMBOL(caam_imx);
#endif
/*
@@ -3670,6 +3672,8 @@ static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev)
*/
caam_little_end = true;
+ caam_imx = false;
+
dev = &dpseci_dev->dev;
priv = kzalloc(sizeof(*priv), GFP_KERNEL);