aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/crypto/md5_glue.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-11-09 20:53:32 -0800
committerDavid S. Miller <davem@davemloft.net>2012-11-09 20:55:16 -0800
commit226f7cea949303a3e1911999a9a2c71b0a708e73 (patch)
treed01a6fe51c856f2b96c894357d61698688381656 /arch/sparc/crypto/md5_glue.c
parentsparc: Support atomic64_dec_if_positive properly. (diff)
downloadlinux-dev-226f7cea949303a3e1911999a9a2c71b0a708e73.tar.xz
linux-dev-226f7cea949303a3e1911999a9a2c71b0a708e73.zip
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/md5_glue.c')
-rw-r--r--arch/sparc/crypto/md5_glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/crypto/md5_glue.c b/arch/sparc/crypto/md5_glue.c
index 603d723038ce..09a9ea1dfb69 100644
--- a/arch/sparc/crypto/md5_glue.c
+++ b/arch/sparc/crypto/md5_glue.c
@@ -186,3 +186,5 @@ MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("MD5 Secure Hash Algorithm, sparc64 md5 opcode accelerated");
MODULE_ALIAS("md5");
+
+#include "crop_devid.c"