diff options
author | David S. Miller <davem@davemloft.net> | 2012-11-09 23:53:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-09 23:55:16 -0500 |
commit | 226f7cea949303a3e1911999a9a2c71b0a708e73 (patch) | |
tree | d01a6fe51c856f2b96c894357d61698688381656 /arch/sparc/crypto/sha512_glue.c | |
parent | 193d2aadc0ff5c687f6f0d5ef1d38c86ab511a14 (diff) |
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>
Diffstat (limited to 'arch/sparc/crypto/sha512_glue.c')
-rw-r--r-- | arch/sparc/crypto/sha512_glue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/crypto/sha512_glue.c b/arch/sparc/crypto/sha512_glue.c index 486f0a2b7001..f04d1994d19a 100644 --- a/arch/sparc/crypto/sha512_glue.c +++ b/arch/sparc/crypto/sha512_glue.c | |||
@@ -224,3 +224,5 @@ MODULE_DESCRIPTION("SHA-384 and SHA-512 Secure Hash Algorithm, sparc64 sha512 op | |||
224 | 224 | ||
225 | MODULE_ALIAS("sha384"); | 225 | MODULE_ALIAS("sha384"); |
226 | MODULE_ALIAS("sha512"); | 226 | MODULE_ALIAS("sha512"); |
227 | |||
228 | #include "crop_devid.c" | ||