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)
commit226f7cea949303a3e1911999a9a2c71b0a708e73
treed01a6fe51c856f2b96c894357d61698688381656
parent193d2aadc0ff5c687f6f0d5ef1d38c86ab511a14
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