diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2017-06-06 15:44:16 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-19 14:19:54 +0800 |
commit | 88d58ef891d868303acd7951cb1282c911f736ac (patch) | |
tree | 253e6831459cfe42aea448032ce4bc691004ff84 /include/crypto | |
parent | cf3f9609c9b2f36760f8181d11b8085c357c27ee (diff) |
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.h | 1 |
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; |