crypto: caam - Dynamic memory allocation for caam_rng_ctx object
authorNitesh Lal <NiteshNarayanLal@freescale.com>
Fri, 7 Mar 2014 10:36:08 +0000 (16:06 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:17:12 +0000 (20:17 +0800)
This patch allocates memory from DMAable region to the caam_rng_ctx object,
earlier it had been statically allocated which resulted in errorneous
behaviour on inserting the caamrng module at the runtime.

Signed-off-by: Nitesh Lal <NiteshNarayanLal@freescale.com>
Acked-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamrng.c

Simple merge