summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2017-06-06 15:44:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-19 08:19:54 +0200
commit88d58ef891d868303acd7951cb1282c911f736ac (patch)
tree253e6831459cfe42aea448032ce4bc691004ff84 /include/crypto
parentcrypto: testmgr - use consistent format for errors (diff)
downloadlinux-88d58ef891d868303acd7951cb1282c911f736ac.tar.xz
linux-88d58ef891d868303acd7951cb1282c911f736ac.zip
crypto: engine - replace pr_xxx by dev_xxx
By adding a struct device *dev to struct engine, we could store the device used at register time and so use all dev_xxx functions instead of pr_xxx. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/engine.h b/include/crypto/engine.h
index 1bf600fc99f7..dd04c1699b51 100644
--- a/include/crypto/engine.h
+++ b/include/crypto/engine.h
@@ -58,6 +58,7 @@ struct crypto_engine {
struct list_head list;
spinlock_t queue_lock;
struct crypto_queue queue;
+ struct device *dev;
bool rt;