summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/desc_constr.h
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-03-17 11:06:00 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 15:02:59 +0100
commitcd373691d262afea523f4ae6ebf3dee3a204c8a7 (patch)
tree1c2a448db2caeff8e25843d2b9aba0b759bcb83c /drivers/crypto/caam/desc_constr.h
parentsoc/qman: add macros needed by caam/qi driver (diff)
downloadlinux-cd373691d262afea523f4ae6ebf3dee3a204c8a7.tar.xz
linux-cd373691d262afea523f4ae6ebf3dee3a204c8a7.zip
crypto: caam - avoid double inclusion in desc_constr.h
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/desc_constr.h')
-rw-r--r--drivers/crypto/caam/desc_constr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/crypto/caam/desc_constr.h b/drivers/crypto/caam/desc_constr.h
index b9c8d98ef826..d8e83ca104e0 100644
--- a/drivers/crypto/caam/desc_constr.h
+++ b/drivers/crypto/caam/desc_constr.h
@@ -4,6 +4,9 @@
* Copyright 2008-2012 Freescale Semiconductor, Inc.
*/
+#ifndef DESC_CONSTR_H
+#define DESC_CONSTR_H
+
#include "desc.h"
#include "regs.h"
@@ -491,3 +494,5 @@ static inline int desc_inline_query(unsigned int sd_base_len,
return (rem_bytes >= 0) ? 0 : -1;
}
+
+#endif /* DESC_CONSTR_H */