aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/ccp-dev.h
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2017-07-06 09:59:15 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2017-07-18 17:57:14 +0800
commitf4d18d656f882a7ca558313d5f1b18b1fd01f759 (patch)
tree505605640669c9a727ce65e8553661538f6b5661 /drivers/crypto/ccp/ccp-dev.h
parentcrypto: ccp - Introduce the AMD Secure Processor device (diff)
downloadlinux-dev-f4d18d656f882a7ca558313d5f1b18b1fd01f759.tar.xz
linux-dev-f4d18d656f882a7ca558313d5f1b18b1fd01f759.zip
crypto: ccp - Abstract interrupt registeration
The CCP and PSP devices part of AMD Secure Procesor may share the same interrupt. Hence we expand the SP device to register a common interrupt handler and provide functions to CCP and PSP devices to register their interrupt callback which will be invoked upon interrupt. Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Acked-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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h
index ca44821a376d..193f30973694 100644
--- a/drivers/crypto/ccp/ccp-dev.h
+++ b/drivers/crypto/ccp/ccp-dev.h
@@ -351,8 +351,6 @@ struct ccp_device {
/* Bus specific device information
*/
void *dev_specific;
- int (*get_irq)(struct ccp_device *ccp);
- void (*free_irq)(struct ccp_device *ccp);
unsigned int qim;
unsigned int irq;
bool use_tasklet;