]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto/caam: Export gen_split_key symbol for other modules
authorBen Collins <ben.c@servergy.com>
Thu, 23 Aug 2012 22:39:57 +0000 (18:39 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Sep 2012 20:07:35 +0000 (04:07 +0800)
In 3.6-rc3, without this patch, the following error occurs with a modular build:

ERROR: "gen_split_key" [drivers/crypto/caam/caamhash.ko] undefined!
ERROR: "gen_split_key" [drivers/crypto/caam/caamalg.ko] undefined!

Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: Yuan Kang <Yuan.Kang@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/key_gen.c

index 002888185f170e92fa798233a40c64ef2258d42c..d216cd3cc569ecdbf195f45b055a5489470f0b70 100644 (file)
@@ -120,3 +120,4 @@ u32 gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len,
 
        return ret;
 }
+EXPORT_SYMBOL(gen_split_key);