aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/sp-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/ccp/sp-dev.c')
-rw-r--r--drivers/crypto/ccp/sp-dev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c
index 7e30773443e9..1e5ffad4437b 100644
--- a/drivers/crypto/ccp/sp-dev.c
+++ b/drivers/crypto/ccp/sp-dev.c
@@ -242,13 +242,13 @@ static int __init sp_mod_init(void)
#ifdef CONFIG_X86
int ret;
- ret = ccp_pci_init();
+ ret = sp_pci_init();
if (ret)
return ret;
/* Don't leave the driver loaded if init failed */
if (ccp_present() != 0) {
- ccp_pci_exit();
+ sp_pci_exit();
return -ENODEV;
}
@@ -258,13 +258,13 @@ static int __init sp_mod_init(void)
#ifdef CONFIG_ARM64
int ret;
- ret = ccp_platform_init();
+ ret = sp_platform_init();
if (ret)
return ret;
/* Don't leave the driver loaded if init failed */
if (ccp_present() != 0) {
- ccp_platform_exit();
+ sp_platform_exit();
return -ENODEV;
}
@@ -277,11 +277,11 @@ static int __init sp_mod_init(void)
static void __exit sp_mod_exit(void)
{
#ifdef CONFIG_X86
- ccp_pci_exit();
+ sp_pci_exit();
#endif
#ifdef CONFIG_ARM64
- ccp_platform_exit();
+ sp_platform_exit();
#endif
}