summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2017-06-06 16:44:16 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-19 09:19:54 +0300
commit88d58ef891d868303acd7951cb1282c911f736ac (patch)
tree253e6831459cfe42aea448032ce4bc691004ff84 /include/crypto
parentcf3f9609c9b2f36760f8181d11b8085c357c27ee (diff)
downloadlinux-88d58ef891d868303acd7951cb1282c911f736ac.tar.xz
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;