summaryrefslogtreecommitdiffstats
path: root/crypto/hmac.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-24 17:40:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-31 18:43:53 +0200
commitd44fcbf43b4f815cab948d475961710967684663 (patch)
tree10094665c06d7a84c1369e59591bfc89705b792b /crypto/hmac.c
parent3a5ddf3d0db006e9256c8e256e7dc7b4a3f89a14 (diff)
downloadbarebox-d44fcbf43b4f815cab948d475961710967684663.tar.gz
barebox-d44fcbf43b4f815cab948d475961710967684663.tar.xz
crypto: digest: initialize earlier
Digests have dependencies and are needed for state which initializes at device_initcall level. To make sure the digests are available for state register them earlier, at coredevice_initcall level. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/hmac.c')
-rw-r--r--crypto/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac.c b/crypto/hmac.c
index 05b9b50f12..37b270df7a 100644
--- a/crypto/hmac.c
+++ b/crypto/hmac.c
@@ -196,4 +196,4 @@ static int digest_hmac_initcall(void)
return 0;
}
-crypto_initcall(digest_hmac_initcall);
+coredevice_initcall(digest_hmac_initcall);