]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix build with mix of modular vs. non-modular crypto drivers.
authorDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2012 04:53:32 +0000 (20:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2012 04:55:16 +0000 (20:55 -0800)
commit7d001848dcb1dca9d777c2a982e70580c222cf34
treed01a6fe51c856f2b96c894357d61698688381656
parenta4229ea8c52b8af5e1b78a24c1c5102ad6d9b31d
sparc64: Fix build with mix of modular vs. non-modular crypto drivers.

We tried linking in a single built object to hold the device table,
but only works if all of the sparc64 crypto modules get built the same
way (modular vs. non-modular).

Just include the device ID stub into each driver source file so that
the table gets compiled into the correct result in all cases.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/crypto/Makefile
arch/sparc/crypto/aes_glue.c
arch/sparc/crypto/camellia_glue.c
arch/sparc/crypto/crc32c_glue.c
arch/sparc/crypto/des_glue.c
arch/sparc/crypto/md5_glue.c
arch/sparc/crypto/sha1_glue.c
arch/sparc/crypto/sha256_glue.c
arch/sparc/crypto/sha512_glue.c