From: Ben Collins Date: Thu, 23 Aug 2012 22:39:57 +0000 (-0400) Subject: crypto/caam: Export gen_split_key symbol for other modules X-Git-Tag: v3.6-rc6~31^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3b75a2c126c4b573553856e0fe08d1bb020ca8c3;p=~emulex%2Finfiniband.git crypto/caam: Export gen_split_key symbol for other modules 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 Cc: Yuan Kang Acked-by: Kim Phillips Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/caam/key_gen.c b/drivers/crypto/caam/key_gen.c index 002888185f1..d216cd3cc56 100644 --- a/drivers/crypto/caam/key_gen.c +++ b/drivers/crypto/caam/key_gen.c @@ -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);