mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
crypto: qat - rename adf_ctl_drv.c to adf_module.c
Now that the character device and IOCTL interface have been removed, adf_ctl_drv.c only contains module_init/module_exit hooks. Rename it to adf_module.c to better reflect its purpose and rename the init/exit functions accordingly. Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Ahsan Atta <ahsan.atta@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
d237230728
commit
9206f1b3f8
|
|
@ -9,7 +9,6 @@ intel_qat-y := adf_accel_engine.o \
|
|||
adf_cfg.o \
|
||||
adf_cfg_services.o \
|
||||
adf_clock.o \
|
||||
adf_ctl_drv.o \
|
||||
adf_dc.o \
|
||||
adf_dev_mgr.o \
|
||||
adf_gen2_config.o \
|
||||
|
|
@ -26,6 +25,7 @@ intel_qat-y := adf_accel_engine.o \
|
|||
adf_hw_arbiter.o \
|
||||
adf_init.o \
|
||||
adf_isr.o \
|
||||
adf_module.o \
|
||||
adf_mstate_mgr.o \
|
||||
adf_rl_admin.o \
|
||||
adf_rl.o \
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "adf_common_drv.h"
|
||||
|
||||
static int __init adf_register_ctl_device_driver(void)
|
||||
static int __init adf_register_module(void)
|
||||
{
|
||||
if (adf_init_misc_wq())
|
||||
goto err_misc_wq;
|
||||
|
|
@ -43,7 +43,7 @@ static int __init adf_register_ctl_device_driver(void)
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
static void __exit adf_unregister_ctl_device_driver(void)
|
||||
static void __exit adf_unregister_module(void)
|
||||
{
|
||||
adf_exit_misc_wq();
|
||||
adf_exit_aer();
|
||||
|
|
@ -54,8 +54,8 @@ static void __exit adf_unregister_ctl_device_driver(void)
|
|||
adf_clean_vf_map(false);
|
||||
}
|
||||
|
||||
module_init(adf_register_ctl_device_driver);
|
||||
module_exit(adf_unregister_ctl_device_driver);
|
||||
module_init(adf_register_module);
|
||||
module_exit(adf_unregister_module);
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_AUTHOR("Intel");
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
Loading…
Reference in New Issue
Block a user