aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2008-01-08 05:36:34 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:17:02 -0500
commitb966b54654598aebdac9c57f102d769b36d2f68f (patch)
treeaf720678d479270b9a1f4e013f09e013c792db4f /drivers
parente6ccc727f30a02670f6a00df6d548942bc988f43 (diff)
[CRYPTO] hifn_795x: Fixup container_of() usage
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/hifn_795x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c
index 1a197003f1a..16413e57597 100644
--- a/drivers/crypto/hifn_795x.c
+++ b/drivers/crypto/hifn_795x.c
@@ -664,7 +664,7 @@ struct hifn_context
664 atomic_t sg_num; 664 atomic_t sg_num;
665}; 665};
666 666
667#define crypto_alg_to_hifn(alg) container_of(alg, struct hifn_crypto_alg, alg) 667#define crypto_alg_to_hifn(a) container_of(a, struct hifn_crypto_alg, alg)
668 668
669static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg) 669static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg)
670{ 670{