]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
crypto: caam - avoid double inclusion in desc_constr.h
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 17 Mar 2017 10:06:00 +0000 (12:06 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Mar 2017 14:02:59 +0000 (22:02 +0800)
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/desc_constr.h

index b9c8d98ef826cd7a32dbe3c8cc8c8ddf0bcdad10..d8e83ca104e02f3a16e70554c8d729f0138a5162 100644 (file)
@@ -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 */