aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/amcc/crypto4xx_sa.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2017-08-25 15:47:19 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-09-22 17:43:17 +0800
commit453e3090b9c3f5da70b21648c2244e9821f0916d (patch)
tree8d9b19cec07bbec6826fc894896bf51b931e1a15 /drivers/crypto/amcc/crypto4xx_sa.h
parentcrypto: crypto4xx - remove double assignment of pd_uinfo->state (diff)
downloadlinux-dev-453e3090b9c3f5da70b21648c2244e9821f0916d.tar.xz
linux-dev-453e3090b9c3f5da70b21648c2244e9821f0916d.zip
crypto: crypto4xx - fix dynamic_sa_ctl's sa_contents declaration
The driver had a union dynamic_sa_contents in place that described the meaning of the bits in the sa_contents variable. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/amcc/crypto4xx_sa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_sa.h b/drivers/crypto/amcc/crypto4xx_sa.h
index 1352d58d4e34..537d548a20b7 100644
--- a/drivers/crypto/amcc/crypto4xx_sa.h
+++ b/drivers/crypto/amcc/crypto4xx_sa.h
@@ -169,7 +169,7 @@ union sa_command_1 {
} __attribute__((packed));
struct dynamic_sa_ctl {
- u32 sa_contents;
+ union dynamic_sa_contents sa_contents;
union sa_command_0 sa_command_0;
union sa_command_1 sa_command_1;
} __attribute__((packed));