mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
crypto: qat - add namespace to driver
Create CRYPTO_QAT namespace for symbols exported by the qat_common module and import those in the QAT drivers. It will reduce the global namespace crowdedness and potential misuse or the API. This does not introduce any functional change. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Lucas Segarra Fernandez <lucas.segarra.fernandez@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
30febae71c
commit
4999999ed7
@ -467,3 +467,4 @@ MODULE_FIRMWARE(ADF_4XXX_MMP);
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_SOFTDEP("pre: crypto-intel_qat");
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
@ -252,3 +252,4 @@ MODULE_FIRMWARE(ADF_C3XXX_FW);
|
||||
MODULE_FIRMWARE(ADF_C3XXX_MMP);
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
@ -226,3 +226,4 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_AUTHOR("Intel");
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
@ -252,3 +252,4 @@ MODULE_FIRMWARE(ADF_C62X_FW);
|
||||
MODULE_FIRMWARE(ADF_C62X_MMP);
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
@ -226,3 +226,4 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_AUTHOR("Intel");
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
@ -1,5 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-$(CONFIG_CRYPTO_DEV_QAT) += intel_qat.o
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=CRYPTO_QAT
|
||||
intel_qat-objs := adf_cfg.o \
|
||||
adf_isr.o \
|
||||
adf_ctl_drv.o \
|
||||
|
@ -252,3 +252,4 @@ MODULE_FIRMWARE(ADF_DH895XCC_FW);
|
||||
MODULE_FIRMWARE(ADF_DH895XCC_MMP);
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
@ -226,3 +226,4 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_AUTHOR("Intel");
|
||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||
MODULE_VERSION(ADF_DRV_VERSION);
|
||||
MODULE_IMPORT_NS(CRYPTO_QAT);
|
||||
|
Loading…
Reference in New Issue
Block a user