Skip to content

Commit

Permalink
crypto/caam: Export gen_split_key symbol for other modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
benmcollins authored and herbertx committed Sep 6, 2012
1 parent ce026cb commit 3b75a2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/crypto/caam/key_gen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 3b75a2c

Please sign in to comment.