]> 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)
commit2ab1631e6b78ca00848c27debdb3b69e03f7d4f4
treed01a6fe51c856f2b96c894357d61698688381656
parente8bc887bd01fc9a3741bda35ff4f968a58260365
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