diff options
author | Gary R Hook <gary.hook@amd.com> | 2016-09-28 11:53:56 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-10-02 22:33:45 +0800 |
commit | 81422badb39078fde1ffcecda3caac555226fc7b (patch) | |
tree | fa0be17bd054e8f24a576d7fac8ce19bc0273e43 /drivers/crypto/ccp/ccp-dev.h | |
parent | 9ddb9dc6be095ebe393f7eb582df09cc4847c5e9 (diff) | |
download | op-kernel-dev-81422badb39078fde1ffcecda3caac555226fc7b.zip op-kernel-dev-81422badb39078fde1ffcecda3caac555226fc7b.tar.gz |
crypto: ccp - Make syslog errors human-readable
Add human-readable strings to log messages about CCP errors
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev.h')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index 08f58b0..da5f4a6 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -601,6 +601,8 @@ void ccp_platform_exit(void); void ccp_add_device(struct ccp_device *ccp); void ccp_del_device(struct ccp_device *ccp); +extern void ccp_log_error(struct ccp_device *, int); + struct ccp_device *ccp_alloc_struct(struct device *dev); bool ccp_queues_suspended(struct ccp_device *ccp); int ccp_cmd_queue_thread(void *data); |