mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
Merge import NS conversion from 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' into for-next
This commit is contained in:
commit
dd77ba8801
@ -46,7 +46,7 @@ Please note that due to macro expansion that argument needs to be a
|
||||
preprocessor symbol. E.g. to export the symbol ``usb_stor_suspend`` into the
|
||||
namespace ``USB_STORAGE``, use::
|
||||
|
||||
EXPORT_SYMBOL_NS(usb_stor_suspend, USB_STORAGE);
|
||||
EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE");
|
||||
|
||||
The corresponding ksymtab entry struct ``kernel_symbol`` will have the member
|
||||
``namespace`` set accordingly. A symbol that is exported without a namespace will
|
||||
@ -68,7 +68,7 @@ is to define the default namespace in the ``Makefile`` of the subsystem. E.g. to
|
||||
export all symbols defined in usb-common into the namespace USB_COMMON, add a
|
||||
line like this to drivers/usb/common/Makefile::
|
||||
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=USB_COMMON
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE='"USB_COMMON"'
|
||||
|
||||
That will affect all EXPORT_SYMBOL() and EXPORT_SYMBOL_GPL() statements. A
|
||||
symbol exported with EXPORT_SYMBOL_NS() while this definition is present, will
|
||||
@ -79,7 +79,7 @@ A second option to define the default namespace is directly in the compilation
|
||||
unit as preprocessor statement. The above example would then read::
|
||||
|
||||
#undef DEFAULT_SYMBOL_NAMESPACE
|
||||
#define DEFAULT_SYMBOL_NAMESPACE USB_COMMON
|
||||
#define DEFAULT_SYMBOL_NAMESPACE "USB_COMMON"
|
||||
|
||||
within the corresponding compilation unit before any EXPORT_SYMBOL macro is
|
||||
used.
|
||||
@ -94,7 +94,7 @@ for the namespaces it uses symbols from. E.g. a module using the
|
||||
usb_stor_suspend symbol from above, needs to import the namespace USB_STORAGE
|
||||
using a statement like::
|
||||
|
||||
MODULE_IMPORT_NS(USB_STORAGE);
|
||||
MODULE_IMPORT_NS("USB_STORAGE");
|
||||
|
||||
This will create a ``modinfo`` tag in the module for each imported namespace.
|
||||
This has the side effect, that the imported namespaces of a module can be
|
||||
|
@ -43,7 +43,7 @@ Tenete presente che per via dell'espansione delle macro questo argomento deve
|
||||
essere un simbolo di preprocessore. Per esempio per esportare il
|
||||
simbolo ``usb_stor_suspend`` nello spazio dei nomi ``USB_STORAGE`` usate::
|
||||
|
||||
EXPORT_SYMBOL_NS(usb_stor_suspend, USB_STORAGE);
|
||||
EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE");
|
||||
|
||||
Di conseguenza, nella tabella dei simboli del kernel ci sarà una voce
|
||||
rappresentata dalla struttura ``kernel_symbol`` che avrà il campo
|
||||
@ -69,7 +69,7 @@ Per esempio per esportare tutti i simboli definiti in usb-common nello spazio
|
||||
dei nomi USB_COMMON, si può aggiungere la seguente linea in
|
||||
drivers/usb/common/Makefile::
|
||||
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=USB_COMMON
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE='"USB_COMMON"'
|
||||
|
||||
Questo cambierà tutte le macro EXPORT_SYMBOL() ed EXPORT_SYMBOL_GPL(). Invece,
|
||||
un simbolo esportato con EXPORT_SYMBOL_NS() non verrà cambiato e il simbolo
|
||||
@ -79,7 +79,7 @@ Una seconda possibilità è quella di definire il simbolo di preprocessore
|
||||
direttamente nei file da compilare. L'esempio precedente diventerebbe::
|
||||
|
||||
#undef DEFAULT_SYMBOL_NAMESPACE
|
||||
#define DEFAULT_SYMBOL_NAMESPACE USB_COMMON
|
||||
#define DEFAULT_SYMBOL_NAMESPACE "USB_COMMON"
|
||||
|
||||
Questo va messo prima di un qualsiasi uso di EXPORT_SYMBOL.
|
||||
|
||||
@ -94,7 +94,7 @@ dei nomi che contiene i simboli desiderati. Per esempio un modulo che
|
||||
usa il simbolo usb_stor_suspend deve importare lo spazio dei nomi
|
||||
USB_STORAGE usando la seguente dichiarazione::
|
||||
|
||||
MODULE_IMPORT_NS(USB_STORAGE);
|
||||
MODULE_IMPORT_NS("USB_STORAGE");
|
||||
|
||||
Questo creerà un'etichetta ``modinfo`` per ogni spazio dei nomi
|
||||
importato. Un risvolto di questo fatto è che gli spazi dei
|
||||
|
@ -48,7 +48,7 @@
|
||||
要是一个预处理器符号。例如,要把符号 ``usb_stor_suspend`` 导出到命名空间 ``USB_STORAGE``,
|
||||
请使用::
|
||||
|
||||
EXPORT_SYMBOL_NS(usb_stor_suspend, USB_STORAGE);
|
||||
EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE");
|
||||
|
||||
相应的 ksymtab 条目结构体 ``kernel_symbol`` 将有相应的成员 ``命名空间`` 集。
|
||||
导出时未指明命名空间的符号将指向 ``NULL`` 。如果没有定义命名空间,则默认没有。
|
||||
@ -66,7 +66,7 @@
|
||||
子系统的 ``Makefile`` 中定义默认命名空间。例如,如果要将usb-common中定义的所有符号导
|
||||
出到USB_COMMON命名空间,可以在drivers/usb/common/Makefile中添加这样一行::
|
||||
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=USB_COMMON
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE='"USB_COMMON"'
|
||||
|
||||
这将影响所有 EXPORT_SYMBOL() 和 EXPORT_SYMBOL_GPL() 语句。当这个定义存在时,
|
||||
用EXPORT_SYMBOL_NS()导出的符号仍然会被导出到作为命名空间参数传递的命名空间中,
|
||||
@ -76,7 +76,7 @@
|
||||
成::
|
||||
|
||||
#undef DEFAULT_SYMBOL_NAMESPACE
|
||||
#define DEFAULT_SYMBOL_NAMESPACE USB_COMMON
|
||||
#define DEFAULT_SYMBOL_NAMESPACE "USB_COMMON"
|
||||
|
||||
应置于相关编译单元中任何 EXPORT_SYMBOL 宏之前
|
||||
|
||||
@ -88,7 +88,7 @@
|
||||
表示它所使用的命名空间的符号。例如,一个使用usb_stor_suspend符号的
|
||||
模块,需要使用如下语句导入命名空间USB_STORAGE::
|
||||
|
||||
MODULE_IMPORT_NS(USB_STORAGE);
|
||||
MODULE_IMPORT_NS("USB_STORAGE");
|
||||
|
||||
这将在模块中为每个导入的命名空间创建一个 ``modinfo`` 标签。这也顺带
|
||||
使得可以用modinfo检查模块已导入的命名空间::
|
||||
|
@ -516,7 +516,7 @@ static void locomo_remove(struct platform_device *dev)
|
||||
*/
|
||||
static struct platform_driver locomo_device_driver = {
|
||||
.probe = locomo_probe,
|
||||
.remove_new = locomo_remove,
|
||||
.remove = locomo_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = locomo_suspend,
|
||||
.resume = locomo_resume,
|
||||
|
@ -1154,7 +1154,7 @@ static struct dev_pm_ops sa1111_pm_ops = {
|
||||
*/
|
||||
static struct platform_driver sa1111_device_driver = {
|
||||
.probe = sa1111_probe,
|
||||
.remove_new = sa1111_remove,
|
||||
.remove = sa1111_remove,
|
||||
.driver = {
|
||||
.name = "sa1111",
|
||||
.pm = &sa1111_pm_ops,
|
||||
|
@ -250,7 +250,7 @@ static void scoop_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver scoop_driver = {
|
||||
.probe = scoop_probe,
|
||||
.remove_new = scoop_remove,
|
||||
.remove = scoop_remove,
|
||||
.suspend = scoop_suspend,
|
||||
.resume = scoop_resume,
|
||||
.driver = {
|
||||
|
@ -596,7 +596,7 @@ static struct platform_driver imx_mmdc_driver = {
|
||||
.of_match_table = imx_mmdc_dt_ids,
|
||||
},
|
||||
.probe = imx_mmdc_probe,
|
||||
.remove_new = imx_mmdc_remove,
|
||||
.remove = imx_mmdc_remove,
|
||||
};
|
||||
|
||||
static int __init imx_mmdc_init(void)
|
||||
|
@ -832,7 +832,7 @@ static void omap_system_dma_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver omap_system_dma_driver = {
|
||||
.probe = omap_system_dma_probe,
|
||||
.remove_new = omap_system_dma_remove,
|
||||
.remove = omap_system_dma_remove,
|
||||
.driver = {
|
||||
.name = "omap_dma_system"
|
||||
},
|
||||
|
@ -919,7 +919,7 @@ static void sharpsl_pm_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver sharpsl_pm_driver = {
|
||||
.probe = sharpsl_pm_probe,
|
||||
.remove_new = sharpsl_pm_remove,
|
||||
.remove = sharpsl_pm_remove,
|
||||
.suspend = sharpsl_pm_suspend,
|
||||
.resume = sharpsl_pm_resume,
|
||||
.driver = {
|
||||
|
@ -188,7 +188,7 @@ static void jornada_ssp_remove(struct platform_device *dev)
|
||||
|
||||
struct platform_driver jornadassp_driver = {
|
||||
.probe = jornada_ssp_probe,
|
||||
.remove_new = jornada_ssp_remove,
|
||||
.remove = jornada_ssp_remove,
|
||||
.driver = {
|
||||
.name = "jornada_ssp",
|
||||
},
|
||||
|
@ -423,7 +423,7 @@ static const struct dev_pm_ops neponset_pm_ops = {
|
||||
|
||||
static struct platform_driver neponset_device_driver = {
|
||||
.probe = neponset_probe,
|
||||
.remove_new = neponset_remove,
|
||||
.remove = neponset_remove,
|
||||
.driver = {
|
||||
.name = "neponset",
|
||||
.pm = PM_OPS,
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "aes-ce-setkey.h"
|
||||
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
||||
static int num_rounds(struct crypto_aes_ctx *ctx)
|
||||
{
|
||||
|
@ -1048,7 +1048,7 @@ unregister_ciphers:
|
||||
|
||||
#ifdef USE_V8_CRYPTO_EXTENSIONS
|
||||
module_cpu_feature_match(AES, aes_init);
|
||||
EXPORT_SYMBOL_NS(ce_aes_mac_update, CRYPTO_INTERNAL);
|
||||
EXPORT_SYMBOL_NS(ce_aes_mac_update, "CRYPTO_INTERNAL");
|
||||
#else
|
||||
module_init(aes_init);
|
||||
EXPORT_SYMBOL(neon_aes_ecb_encrypt);
|
||||
|
@ -749,7 +749,7 @@ static void bridge_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bridge_driver = {
|
||||
.probe = bridge_probe,
|
||||
.remove_new = bridge_remove,
|
||||
.remove = bridge_remove,
|
||||
.driver = {
|
||||
.name = "xtalk-bridge",
|
||||
}
|
||||
|
@ -74,4 +74,4 @@ MODULE_DESCRIPTION("IBM VMX cryptographic acceleration instructions "
|
||||
"support on Power 8");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_VERSION("1.0.0");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -1168,4 +1168,4 @@ MODULE_ALIAS_CRYPTO("aes-all");
|
||||
|
||||
MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -110,7 +110,7 @@ static void switch_drv_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver switch_driver = {
|
||||
.probe = switch_drv_probe,
|
||||
.remove_new = switch_drv_remove,
|
||||
.remove = switch_drv_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
},
|
||||
|
@ -243,7 +243,7 @@ static struct platform_driver ecpp_driver = {
|
||||
.of_match_table = ecpp_match,
|
||||
},
|
||||
.probe = ecpp_probe,
|
||||
.remove_new = ecpp_remove,
|
||||
.remove = ecpp_remove,
|
||||
};
|
||||
|
||||
static int parport_pc_find_nonpci_ports(int autoirq, int autodma)
|
||||
|
@ -814,7 +814,7 @@ static struct platform_driver us3mc_driver = {
|
||||
.of_match_table = us3mc_match,
|
||||
},
|
||||
.probe = us3mc_probe,
|
||||
.remove_new = us3mc_remove,
|
||||
.remove = us3mc_remove,
|
||||
};
|
||||
|
||||
static inline bool us3mc_platform(void)
|
||||
|
@ -176,7 +176,7 @@ static void uml_rtc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver uml_rtc_driver = {
|
||||
.probe = uml_rtc_probe,
|
||||
.remove_new = uml_rtc_remove,
|
||||
.remove = uml_rtc_remove,
|
||||
.driver = {
|
||||
.name = "uml-rtc",
|
||||
},
|
||||
|
@ -1465,7 +1465,7 @@ static int virtio_uml_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver virtio_uml_driver = {
|
||||
.probe = virtio_uml_probe,
|
||||
.remove_new = virtio_uml_remove,
|
||||
.remove = virtio_uml_remove,
|
||||
.driver = {
|
||||
.name = "virtio-uml",
|
||||
.of_match_table = virtio_uml_match,
|
||||
|
@ -354,7 +354,7 @@ bool cpu_cache_has_invalidate_memregion(void)
|
||||
{
|
||||
return !cpu_feature_enabled(X86_FEATURE_HYPERVISOR);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cpu_cache_has_invalidate_memregion, DEVMEM);
|
||||
EXPORT_SYMBOL_NS_GPL(cpu_cache_has_invalidate_memregion, "DEVMEM");
|
||||
|
||||
int cpu_cache_invalidate_memregion(int res_desc)
|
||||
{
|
||||
@ -363,7 +363,7 @@ int cpu_cache_invalidate_memregion(int res_desc)
|
||||
wbinvd_on_all_cpus();
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cpu_cache_invalidate_memregion, DEVMEM);
|
||||
EXPORT_SYMBOL_NS_GPL(cpu_cache_invalidate_memregion, "DEVMEM");
|
||||
#endif
|
||||
|
||||
static void __cpa_flush_all(void *arg)
|
||||
|
@ -646,4 +646,4 @@ MODULE_DESCRIPTION("Adiantum length-preserving encryption mode");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Eric Biggers <ebiggers@google.com>");
|
||||
MODULE_ALIAS_CRYPTO("adiantum");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -471,4 +471,4 @@ subsys_initcall(prng_mod_init);
|
||||
module_exit(prng_mod_fini);
|
||||
MODULE_ALIAS_CRYPTO("stdrng");
|
||||
MODULE_ALIAS_CRYPTO("ansi_cprng");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -949,4 +949,4 @@ MODULE_ALIAS_CRYPTO("ccm_base");
|
||||
MODULE_ALIAS_CRYPTO("rfc4309");
|
||||
MODULE_ALIAS_CRYPTO("ccm");
|
||||
MODULE_ALIAS_CRYPTO("cbcmac");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -53,7 +53,7 @@ int crypto_cipher_setkey(struct crypto_cipher *tfm,
|
||||
|
||||
return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(crypto_cipher_setkey, CRYPTO_INTERNAL);
|
||||
EXPORT_SYMBOL_NS_GPL(crypto_cipher_setkey, "CRYPTO_INTERNAL");
|
||||
|
||||
static inline void cipher_crypt_one(struct crypto_cipher *tfm,
|
||||
u8 *dst, const u8 *src, bool enc)
|
||||
@ -81,14 +81,14 @@ void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
|
||||
{
|
||||
cipher_crypt_one(tfm, dst, src, true);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(crypto_cipher_encrypt_one, CRYPTO_INTERNAL);
|
||||
EXPORT_SYMBOL_NS_GPL(crypto_cipher_encrypt_one, "CRYPTO_INTERNAL");
|
||||
|
||||
void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
|
||||
u8 *dst, const u8 *src)
|
||||
{
|
||||
cipher_crypt_one(tfm, dst, src, false);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(crypto_cipher_decrypt_one, CRYPTO_INTERNAL);
|
||||
EXPORT_SYMBOL_NS_GPL(crypto_cipher_decrypt_one, "CRYPTO_INTERNAL");
|
||||
|
||||
struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher)
|
||||
{
|
||||
|
@ -313,4 +313,4 @@ module_exit(crypto_cmac_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("CMAC keyed hash algorithm");
|
||||
MODULE_ALIAS_CRYPTO("cmac");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -357,4 +357,4 @@ MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("CTR block cipher mode of operation");
|
||||
MODULE_ALIAS_CRYPTO("rfc3686");
|
||||
MODULE_ALIAS_CRYPTO("ctr");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -2151,4 +2151,4 @@ MODULE_DESCRIPTION("NIST SP800-90A Deterministic Random Bit Generator (DRBG) "
|
||||
CRYPTO_DRBG_HMAC_STRING
|
||||
CRYPTO_DRBG_CTR_STRING);
|
||||
MODULE_ALIAS_CRYPTO("stdrng");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -225,4 +225,4 @@ module_exit(crypto_ecb_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("ECB block cipher mode of operation");
|
||||
MODULE_ALIAS_CRYPTO("ecb");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -649,4 +649,4 @@ module_exit(essiv_module_exit);
|
||||
MODULE_DESCRIPTION("ESSIV skcipher/aead wrapper for block encryption");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS_CRYPTO("essiv");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -576,4 +576,4 @@ module_exit(hctr2_module_exit);
|
||||
MODULE_DESCRIPTION("HCTR2 length-preserving encryption mode");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS_CRYPTO("hctr2");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -317,4 +317,4 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_AUTHOR("Stephan Mueller <smueller@chronox.de>");
|
||||
MODULE_DESCRIPTION("Key Wrapping (RFC3394 / NIST SP800-38F)");
|
||||
MODULE_ALIAS_CRYPTO("kw");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -192,4 +192,4 @@ module_exit(crypto_pcbc_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("PCBC block cipher mode of operation");
|
||||
MODULE_ALIAS_CRYPTO("pcbc");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -1085,4 +1085,4 @@ EXPORT_SYMBOL_GPL(skcipher_alloc_instance_simple);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("Symmetric key cipher type");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
||||
static bool notests;
|
||||
module_param(notests, bool, 0644);
|
||||
|
@ -693,4 +693,4 @@ module_exit(vmac_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("VMAC hash algorithm");
|
||||
MODULE_ALIAS_CRYPTO("vmac64");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -261,4 +261,4 @@ module_exit(crypto_xcbc_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("XCBC keyed hash algorithm");
|
||||
MODULE_ALIAS_CRYPTO("xcbc");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -188,4 +188,4 @@ module_exit(crypto_xctr_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("XCTR block cipher mode of operation");
|
||||
MODULE_ALIAS_CRYPTO("xctr");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
|
@ -472,5 +472,5 @@ module_exit(xts_module_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("XTS block cipher mode");
|
||||
MODULE_ALIAS_CRYPTO("xts");
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
MODULE_IMPORT_NS("CRYPTO_INTERNAL");
|
||||
MODULE_SOFTDEP("pre: ecb");
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/pci-p2pdma.h>
|
||||
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
MODULE_IMPORT_NS("DMA_BUF");
|
||||
|
||||
#define HL_MMU_DEBUG 0
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "qaic_timesync.h"
|
||||
#include "sahara.h"
|
||||
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
MODULE_IMPORT_NS("DMA_BUF");
|
||||
|
||||
#define PCI_DEV_AIC080 0xa080
|
||||
#define PCI_DEV_AIC100 0xa100
|
||||
|
@ -45,7 +45,7 @@ int einj_cxl_available_error_type_show(struct seq_file *m, void *v)
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_available_error_type_show, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_available_error_type_show, "CXL");
|
||||
|
||||
static int cxl_dport_get_sbdf(struct pci_dev *dport_dev, u64 *sbdf)
|
||||
{
|
||||
@ -83,7 +83,7 @@ int einj_cxl_inject_rch_error(u64 rcrb, u64 type)
|
||||
return einj_cxl_rch_error_inject(type, 0x2, rcrb, GENMASK_ULL(63, 0),
|
||||
0, 0);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_inject_rch_error, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_inject_rch_error, "CXL");
|
||||
|
||||
int einj_cxl_inject_error(struct pci_dev *dport, u64 type)
|
||||
{
|
||||
@ -104,10 +104,10 @@ int einj_cxl_inject_error(struct pci_dev *dport, u64 type)
|
||||
|
||||
return einj_error_inject(type, 0x4, 0, 0, 0, param4);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_inject_error, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_inject_error, "CXL");
|
||||
|
||||
bool einj_cxl_is_initialized(void)
|
||||
{
|
||||
return einj_initialized;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_is_initialized, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(einj_cxl_is_initialized, "CXL");
|
||||
|
@ -726,7 +726,7 @@ int cxl_cper_register_work(struct work_struct *work)
|
||||
cxl_cper_work = work;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_cper_register_work, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_cper_register_work, "CXL");
|
||||
|
||||
int cxl_cper_unregister_work(struct work_struct *work)
|
||||
{
|
||||
@ -737,13 +737,13 @@ int cxl_cper_unregister_work(struct work_struct *work)
|
||||
cxl_cper_work = NULL;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_cper_unregister_work, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_cper_unregister_work, "CXL");
|
||||
|
||||
int cxl_cper_kfifo_get(struct cxl_cper_work_data *wd)
|
||||
{
|
||||
return kfifo_get(&cxl_cper_fifo, wd);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_cper_kfifo_get, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_cper_kfifo_get, "CXL");
|
||||
|
||||
static bool ghes_do_proc(struct ghes *ghes,
|
||||
const struct acpi_hest_generic_status *estatus)
|
||||
|
@ -151,7 +151,7 @@ int acpi_get_genport_coordinates(u32 uid,
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_get_genport_coordinates, CXL);
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_get_genport_coordinates, "CXL");
|
||||
|
||||
static __init void alloc_memory_initiator(unsigned int cpu_pxm)
|
||||
{
|
||||
|
@ -1082,7 +1082,7 @@ static void __exit acpi_thermal_exit(void)
|
||||
module_init(acpi_thermal_init);
|
||||
module_exit(acpi_thermal_exit);
|
||||
|
||||
MODULE_IMPORT_NS(ACPI_THERMAL);
|
||||
MODULE_IMPORT_NS("ACPI_THERMAL");
|
||||
MODULE_AUTHOR("Paul Diefenbaugh");
|
||||
MODULE_DESCRIPTION("ACPI Thermal Zone Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -53,25 +53,25 @@ int acpi_active_trip_temp(struct acpi_device *adev, int id, int *ret_temp)
|
||||
|
||||
return acpi_trip_temp(adev, obj_name, ret_temp);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_active_trip_temp, ACPI_THERMAL);
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_active_trip_temp, "ACPI_THERMAL");
|
||||
|
||||
int acpi_passive_trip_temp(struct acpi_device *adev, int *ret_temp)
|
||||
{
|
||||
return acpi_trip_temp(adev, "_PSV", ret_temp);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_passive_trip_temp, ACPI_THERMAL);
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_passive_trip_temp, "ACPI_THERMAL");
|
||||
|
||||
int acpi_hot_trip_temp(struct acpi_device *adev, int *ret_temp)
|
||||
{
|
||||
return acpi_trip_temp(adev, "_HOT", ret_temp);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_hot_trip_temp, ACPI_THERMAL);
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_hot_trip_temp, "ACPI_THERMAL");
|
||||
|
||||
int acpi_critical_trip_temp(struct acpi_device *adev, int *ret_temp)
|
||||
{
|
||||
return acpi_trip_temp(adev, "_CRT", ret_temp);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_critical_trip_temp, ACPI_THERMAL);
|
||||
EXPORT_SYMBOL_NS_GPL(acpi_critical_trip_temp, "ACPI_THERMAL");
|
||||
|
||||
static int thermal_temp(int error, int temp_decik, int *ret_temp)
|
||||
{
|
||||
|
@ -2569,7 +2569,7 @@ static struct platform_driver fore200e_sba_driver = {
|
||||
.of_match_table = fore200e_sba_match,
|
||||
},
|
||||
.probe = fore200e_sba_probe,
|
||||
.remove_new = fore200e_sba_remove,
|
||||
.remove = fore200e_sba_remove,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -108,7 +108,7 @@ static void cfag12864bfb_remove(struct platform_device *device)
|
||||
|
||||
static struct platform_driver cfag12864bfb_driver = {
|
||||
.probe = cfag12864bfb_probe,
|
||||
.remove_new = cfag12864bfb_remove,
|
||||
.remove = cfag12864bfb_remove,
|
||||
.driver = {
|
||||
.name = CFAG12864BFB_NAME,
|
||||
},
|
||||
|
@ -339,7 +339,7 @@ MODULE_DEVICE_TABLE(of, hd44780_of_match);
|
||||
|
||||
static struct platform_driver hd44780_driver = {
|
||||
.probe = hd44780_probe,
|
||||
.remove_new = hd44780_remove,
|
||||
.remove = hd44780_remove,
|
||||
.driver = {
|
||||
.name = "hd44780",
|
||||
.of_match_table = hd44780_of_match,
|
||||
|
@ -780,5 +780,5 @@ module_i2c_driver(ht16k33_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Holtek HT16K33 driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(LINEDISP);
|
||||
MODULE_IMPORT_NS("LINEDISP");
|
||||
MODULE_AUTHOR("Robin van der Gracht <robin@protonic.nl>");
|
||||
|
@ -291,11 +291,11 @@ static struct platform_driver img_ascii_lcd_driver = {
|
||||
.of_match_table = img_ascii_lcd_matches,
|
||||
},
|
||||
.probe = img_ascii_lcd_probe,
|
||||
.remove_new = img_ascii_lcd_remove,
|
||||
.remove = img_ascii_lcd_remove,
|
||||
};
|
||||
module_platform_driver(img_ascii_lcd_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Imagination Technologies ASCII LCD Display");
|
||||
MODULE_AUTHOR("Paul Burton <paul.burton@mips.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(LINEDISP);
|
||||
MODULE_IMPORT_NS("LINEDISP");
|
||||
|
@ -381,7 +381,7 @@ out_put_device:
|
||||
put_device(&linedisp->dev);
|
||||
return err;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(linedisp_register, LINEDISP);
|
||||
EXPORT_SYMBOL_NS_GPL(linedisp_register, "LINEDISP");
|
||||
|
||||
/**
|
||||
* linedisp_unregister - unregister a character line display
|
||||
@ -394,7 +394,7 @@ void linedisp_unregister(struct linedisp *linedisp)
|
||||
del_timer_sync(&linedisp->timer);
|
||||
put_device(&linedisp->dev);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(linedisp_unregister, LINEDISP);
|
||||
EXPORT_SYMBOL_NS_GPL(linedisp_unregister, "LINEDISP");
|
||||
|
||||
MODULE_DESCRIPTION("Character line display core support");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -191,4 +191,4 @@ module_i2c_driver(max6959_i2c_driver);
|
||||
MODULE_DESCRIPTION("MAX6958/6959 7-segment LED controller");
|
||||
MODULE_AUTHOR("Andy Shevchenko <andriy.shevchenko@linux.intel.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(LINEDISP);
|
||||
MODULE_IMPORT_NS("LINEDISP");
|
||||
|
@ -97,7 +97,7 @@ MODULE_DEVICE_TABLE(of, seg_led_of_match);
|
||||
|
||||
static struct platform_driver seg_led_driver = {
|
||||
.probe = seg_led_probe,
|
||||
.remove_new = seg_led_remove,
|
||||
.remove = seg_led_remove,
|
||||
.driver = {
|
||||
.name = "seg-led-gpio",
|
||||
.of_match_table = seg_led_of_match,
|
||||
@ -108,4 +108,4 @@ module_platform_driver(seg_led_driver);
|
||||
MODULE_AUTHOR("Chris Packham <chris.packham@alliedtelesis.co.nz>");
|
||||
MODULE_DESCRIPTION("7 segment LED driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(LINEDISP);
|
||||
MODULE_IMPORT_NS("LINEDISP");
|
||||
|
@ -61,7 +61,7 @@ bool firmware_request_builtin(struct firmware *fw, const char *name)
|
||||
|
||||
return false;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(firmware_request_builtin, TEST_FIRMWARE);
|
||||
EXPORT_SYMBOL_NS_GPL(firmware_request_builtin, "TEST_FIRMWARE");
|
||||
|
||||
/**
|
||||
* firmware_request_builtin_buf() - load builtin firmware into optional buffer
|
||||
|
@ -22,7 +22,7 @@ struct firmware_fallback_config fw_fallback_config = {
|
||||
.loading_timeout = 60,
|
||||
.old_timeout = 60,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(fw_fallback_config, FIRMWARE_LOADER_PRIVATE);
|
||||
EXPORT_SYMBOL_NS_GPL(fw_fallback_config, "FIRMWARE_LOADER_PRIVATE");
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
static struct ctl_table firmware_config_table[] = {
|
||||
@ -56,13 +56,13 @@ int register_firmware_config_sysctl(void)
|
||||
return -ENOMEM;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(register_firmware_config_sysctl, FIRMWARE_LOADER_PRIVATE);
|
||||
EXPORT_SYMBOL_NS_GPL(register_firmware_config_sysctl, "FIRMWARE_LOADER_PRIVATE");
|
||||
|
||||
void unregister_firmware_config_sysctl(void)
|
||||
{
|
||||
unregister_sysctl_table(firmware_config_sysct_table_header);
|
||||
firmware_config_sysct_table_header = NULL;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(unregister_firmware_config_sysctl, FIRMWARE_LOADER_PRIVATE);
|
||||
EXPORT_SYMBOL_NS_GPL(unregister_firmware_config_sysctl, "FIRMWARE_LOADER_PRIVATE");
|
||||
|
||||
#endif /* CONFIG_SYSCTL */
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include "firmware.h"
|
||||
|
||||
MODULE_IMPORT_NS(FIRMWARE_LOADER_PRIVATE);
|
||||
MODULE_IMPORT_NS("FIRMWARE_LOADER_PRIVATE");
|
||||
|
||||
extern struct firmware_fallback_config fw_fallback_config;
|
||||
extern struct device_attribute dev_attr_loading;
|
||||
|
@ -261,7 +261,7 @@ static struct platform_driver bcma_host_soc_driver = {
|
||||
.of_match_table = bcma_host_soc_of_match,
|
||||
},
|
||||
.probe = bcma_host_soc_probe,
|
||||
.remove_new = bcma_host_soc_remove,
|
||||
.remove = bcma_host_soc_remove,
|
||||
};
|
||||
|
||||
int __init bcma_host_soc_register_driver(void)
|
||||
|
@ -944,7 +944,7 @@ static void swim_remove(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver swim_driver = {
|
||||
.probe = swim_probe,
|
||||
.remove_new = swim_remove,
|
||||
.remove = swim_remove,
|
||||
.driver = {
|
||||
.name = CARDNAME,
|
||||
},
|
||||
|
@ -216,7 +216,7 @@ MODULE_DEVICE_TABLE(of, btqcomsmd_of_match);
|
||||
|
||||
static struct platform_driver btqcomsmd_driver = {
|
||||
.probe = btqcomsmd_probe,
|
||||
.remove_new = btqcomsmd_remove,
|
||||
.remove = btqcomsmd_remove,
|
||||
.driver = {
|
||||
.name = "btqcomsmd",
|
||||
.of_match_table = btqcomsmd_of_match,
|
||||
|
@ -1498,7 +1498,7 @@ static const struct dev_pm_ops bcm_pm_ops = {
|
||||
|
||||
static struct platform_driver bcm_driver = {
|
||||
.probe = bcm_probe,
|
||||
.remove_new = bcm_remove,
|
||||
.remove = bcm_remove,
|
||||
.driver = {
|
||||
.name = "hci_bcm",
|
||||
.acpi_match_table = ACPI_PTR(bcm_acpi_match),
|
||||
|
@ -1206,7 +1206,7 @@ static void intel_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver intel_driver = {
|
||||
.probe = intel_probe,
|
||||
.remove_new = intel_remove,
|
||||
.remove = intel_remove,
|
||||
.driver = {
|
||||
.name = "hci_intel",
|
||||
.acpi_match_table = ACPI_PTR(intel_acpi_match),
|
||||
|
@ -847,7 +847,7 @@ static void remove_gdrom(struct platform_device *devptr)
|
||||
|
||||
static struct platform_driver gdrom_driver = {
|
||||
.probe = probe_gdrom,
|
||||
.remove_new = remove_gdrom,
|
||||
.remove = remove_gdrom,
|
||||
.driver = {
|
||||
.name = GDROM_DEV_NAME,
|
||||
},
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
|
||||
#
|
||||
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=CDX_BUS
|
||||
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE='"CDX_BUS"'
|
||||
|
||||
obj-$(CONFIG_CDX_BUS) += cdx.o controller/
|
||||
|
||||
|
@ -868,7 +868,7 @@ fail:
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_device_add, CDX_BUS_CONTROLLER);
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_device_add, "CDX_BUS_CONTROLLER");
|
||||
|
||||
struct device *cdx_bus_add(struct cdx_controller *cdx, u8 bus_num)
|
||||
{
|
||||
@ -915,7 +915,7 @@ device_add_fail:
|
||||
|
||||
return NULL;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_bus_add, CDX_BUS_CONTROLLER);
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_bus_add, "CDX_BUS_CONTROLLER");
|
||||
|
||||
int cdx_register_controller(struct cdx_controller *cdx)
|
||||
{
|
||||
@ -940,7 +940,7 @@ int cdx_register_controller(struct cdx_controller *cdx)
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_register_controller, CDX_BUS_CONTROLLER);
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_register_controller, "CDX_BUS_CONTROLLER");
|
||||
|
||||
void cdx_unregister_controller(struct cdx_controller *cdx)
|
||||
{
|
||||
@ -955,7 +955,7 @@ void cdx_unregister_controller(struct cdx_controller *cdx)
|
||||
|
||||
mutex_unlock(&cdx_controller_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_unregister_controller, CDX_BUS_CONTROLLER);
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_unregister_controller, "CDX_BUS_CONTROLLER");
|
||||
|
||||
static int __init cdx_bus_init(void)
|
||||
{
|
||||
|
@ -189,4 +189,4 @@ struct irq_domain *cdx_msi_domain_init(struct device *dev)
|
||||
|
||||
return cdx_msi_domain;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_msi_domain_init, CDX_BUS_CONTROLLER);
|
||||
EXPORT_SYMBOL_NS_GPL(cdx_msi_domain_init, "CDX_BUS_CONTROLLER");
|
||||
|
@ -250,7 +250,7 @@ static struct platform_driver cdx_pdriver = {
|
||||
.of_match_table = cdx_match_table,
|
||||
},
|
||||
.probe = xlnx_cdx_probe,
|
||||
.remove_new = xlnx_cdx_remove,
|
||||
.remove = xlnx_cdx_remove,
|
||||
};
|
||||
|
||||
static int __init cdx_controller_init(void)
|
||||
@ -275,4 +275,4 @@ module_exit(cdx_controller_exit);
|
||||
MODULE_AUTHOR("AMD Inc.");
|
||||
MODULE_DESCRIPTION("CDX controller for AMD devices");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CDX_BUS_CONTROLLER);
|
||||
MODULE_IMPORT_NS("CDX_BUS_CONTROLLER");
|
||||
|
@ -481,7 +481,7 @@ static struct platform_driver bt_bmc_driver = {
|
||||
.of_match_table = bt_bmc_match,
|
||||
},
|
||||
.probe = bt_bmc_probe,
|
||||
.remove_new = bt_bmc_remove,
|
||||
.remove = bt_bmc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bt_bmc_driver);
|
||||
|
@ -302,7 +302,7 @@ static struct platform_driver powernv_ipmi_driver = {
|
||||
.of_match_table = ipmi_powernv_match,
|
||||
},
|
||||
.probe = ipmi_powernv_probe,
|
||||
.remove_new = ipmi_powernv_remove,
|
||||
.remove = ipmi_powernv_remove,
|
||||
};
|
||||
|
||||
|
||||
|
@ -445,7 +445,7 @@ struct platform_driver ipmi_platform_driver = {
|
||||
.acpi_match_table = ACPI_PTR(acpi_ipmi_match),
|
||||
},
|
||||
.probe = ipmi_probe,
|
||||
.remove_new = ipmi_remove,
|
||||
.remove = ipmi_remove,
|
||||
.id_table = si_plat_ids
|
||||
};
|
||||
|
||||
|
@ -2114,7 +2114,7 @@ static struct platform_driver ipmi_driver = {
|
||||
.name = DEVICE_NAME,
|
||||
},
|
||||
.probe = ssif_platform_probe,
|
||||
.remove_new = ssif_platform_remove,
|
||||
.remove = ssif_platform_remove,
|
||||
.id_table = ssif_plat_ids
|
||||
};
|
||||
|
||||
|
@ -672,7 +672,7 @@ static struct platform_driver ast_kcs_bmc_driver = {
|
||||
.of_match_table = ast_kcs_bmc_match,
|
||||
},
|
||||
.probe = aspeed_kcs_probe,
|
||||
.remove_new = aspeed_kcs_remove,
|
||||
.remove = aspeed_kcs_remove,
|
||||
};
|
||||
module_platform_driver(ast_kcs_bmc_driver);
|
||||
|
||||
|
@ -241,7 +241,7 @@ static struct platform_driver npcm_kcs_bmc_driver = {
|
||||
.of_match_table = npcm_kcs_bmc_match,
|
||||
},
|
||||
.probe = npcm7xx_kcs_probe,
|
||||
.remove_new = npcm7xx_kcs_remove,
|
||||
.remove = npcm7xx_kcs_remove,
|
||||
};
|
||||
module_platform_driver(npcm_kcs_bmc_driver);
|
||||
|
||||
|
@ -366,7 +366,7 @@ static struct platform_driver ftpm_tee_plat_driver = {
|
||||
},
|
||||
.shutdown = ftpm_plat_tee_shutdown,
|
||||
.probe = ftpm_plat_tee_probe,
|
||||
.remove_new = ftpm_plat_tee_remove,
|
||||
.remove = ftpm_plat_tee_remove,
|
||||
};
|
||||
|
||||
/* UUID of the fTPM TA */
|
||||
|
@ -356,7 +356,7 @@ MODULE_DEVICE_TABLE(of, tis_of_platform_match);
|
||||
|
||||
static struct platform_driver tis_drv = {
|
||||
.probe = tpm_tis_plat_probe,
|
||||
.remove_new = tpm_tis_plat_remove,
|
||||
.remove = tpm_tis_plat_remove,
|
||||
.driver = {
|
||||
.name = "tpm_tis",
|
||||
.pm = &tpm_tis_pm,
|
||||
|
@ -152,7 +152,7 @@ MODULE_DEVICE_TABLE(acpi, tpm_synquacer_acpi_tbl);
|
||||
|
||||
static struct platform_driver tis_synquacer_drv = {
|
||||
.probe = tpm_tis_synquacer_probe,
|
||||
.remove_new = tpm_tis_synquacer_remove,
|
||||
.remove = tpm_tis_synquacer_remove,
|
||||
.driver = {
|
||||
.name = "tpm_tis_synquacer",
|
||||
.pm = &tpm_tis_synquacer_pm,
|
||||
|
@ -2246,4 +2246,4 @@ MODULE_DESCRIPTION("Amlogic A1 Peripherals Clock Controller driver");
|
||||
MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>");
|
||||
MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -360,4 +360,4 @@ MODULE_DESCRIPTION("Amlogic S4 PLL Clock Controller driver");
|
||||
MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>");
|
||||
MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -342,4 +342,4 @@ module_platform_driver(axg_aoclkc_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic AXG Always-ON Clock Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -1821,4 +1821,4 @@ module_platform_driver(axg_audio_driver);
|
||||
MODULE_DESCRIPTION("Amlogic AXG/G12A/SM1 Audio Clock driver");
|
||||
MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -2181,4 +2181,4 @@ module_platform_driver(axg_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic AXG Main Clock Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -2364,4 +2364,4 @@ module_platform_driver(c3_peripherals_driver);
|
||||
MODULE_DESCRIPTION("Amlogic C3 Peripherals Clock Controller driver");
|
||||
MODULE_AUTHOR("Chuan Liu <chuan.liu@amlogic.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -746,4 +746,4 @@ module_platform_driver(c3_pll_driver);
|
||||
MODULE_DESCRIPTION("Amlogic C3 PLL Clock Controller driver");
|
||||
MODULE_AUTHOR("Chuan Liu <chuan.liu@amlogic.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -65,9 +65,9 @@ const struct clk_ops meson_clk_cpu_dyndiv_ops = {
|
||||
.determine_rate = meson_clk_cpu_dyndiv_determine_rate,
|
||||
.set_rate = meson_clk_cpu_dyndiv_set_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_cpu_dyndiv_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_cpu_dyndiv_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic CPU Dynamic Clock divider");
|
||||
MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -130,15 +130,15 @@ const struct clk_ops meson_clk_dualdiv_ops = {
|
||||
.determine_rate = meson_clk_dualdiv_determine_rate,
|
||||
.set_rate = meson_clk_dualdiv_set_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_dualdiv_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_dualdiv_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops meson_clk_dualdiv_ro_ops = {
|
||||
.recalc_rate = meson_clk_dualdiv_recalc_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_dualdiv_ro_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_dualdiv_ro_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic dual divider driver");
|
||||
MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
|
||||
MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -154,7 +154,7 @@ const struct clk_ops meson_clk_mpll_ro_ops = {
|
||||
.recalc_rate = mpll_recalc_rate,
|
||||
.determine_rate = mpll_determine_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_mpll_ro_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_mpll_ro_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops meson_clk_mpll_ops = {
|
||||
.recalc_rate = mpll_recalc_rate,
|
||||
@ -162,9 +162,9 @@ const struct clk_ops meson_clk_mpll_ops = {
|
||||
.set_rate = mpll_set_rate,
|
||||
.init = mpll_init,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_mpll_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_mpll_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic MPLL driver");
|
||||
MODULE_AUTHOR("Michael Turquette <mturquette@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -61,7 +61,7 @@ const struct clk_ops meson_clk_phase_ops = {
|
||||
.get_phase = meson_clk_phase_get_phase,
|
||||
.set_phase = meson_clk_phase_set_phase,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_phase_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_phase_ops, "CLK_MESON");
|
||||
|
||||
/*
|
||||
* This is a special clock for the audio controller.
|
||||
@ -123,7 +123,7 @@ const struct clk_ops meson_clk_triphase_ops = {
|
||||
.get_phase = meson_clk_triphase_get_phase,
|
||||
.set_phase = meson_clk_triphase_set_phase,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_triphase_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_triphase_ops, "CLK_MESON");
|
||||
|
||||
/*
|
||||
* This is a special clock for the audio controller.
|
||||
@ -178,9 +178,9 @@ const struct clk_ops meson_sclk_ws_inv_ops = {
|
||||
.get_phase = meson_sclk_ws_inv_get_phase,
|
||||
.set_phase = meson_sclk_ws_inv_set_phase,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_sclk_ws_inv_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_sclk_ws_inv_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic phase driver");
|
||||
MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -474,7 +474,7 @@ const struct clk_ops meson_clk_pcie_pll_ops = {
|
||||
.enable = meson_clk_pcie_pll_enable,
|
||||
.disable = meson_clk_pll_disable
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_pcie_pll_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_pcie_pll_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops meson_clk_pll_ops = {
|
||||
.init = meson_clk_pll_init,
|
||||
@ -485,16 +485,16 @@ const struct clk_ops meson_clk_pll_ops = {
|
||||
.enable = meson_clk_pll_enable,
|
||||
.disable = meson_clk_pll_disable
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_pll_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_pll_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops meson_clk_pll_ro_ops = {
|
||||
.recalc_rate = meson_clk_pll_recalc_rate,
|
||||
.is_enabled = meson_clk_pll_is_enabled,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_pll_ro_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_pll_ro_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic PLL driver");
|
||||
MODULE_AUTHOR("Carlo Caione <carlo@endlessm.com>");
|
||||
MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -49,12 +49,12 @@ const struct clk_ops clk_regmap_gate_ops = {
|
||||
.disable = clk_regmap_gate_disable,
|
||||
.is_enabled = clk_regmap_gate_is_enabled,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_gate_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_gate_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops clk_regmap_gate_ro_ops = {
|
||||
.is_enabled = clk_regmap_gate_is_enabled,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_gate_ro_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_gate_ro_ops, "CLK_MESON");
|
||||
|
||||
static unsigned long clk_regmap_div_recalc_rate(struct clk_hw *hw,
|
||||
unsigned long prate)
|
||||
@ -125,13 +125,13 @@ const struct clk_ops clk_regmap_divider_ops = {
|
||||
.determine_rate = clk_regmap_div_determine_rate,
|
||||
.set_rate = clk_regmap_div_set_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_divider_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_divider_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops clk_regmap_divider_ro_ops = {
|
||||
.recalc_rate = clk_regmap_div_recalc_rate,
|
||||
.determine_rate = clk_regmap_div_determine_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_divider_ro_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_divider_ro_ops, "CLK_MESON");
|
||||
|
||||
static u8 clk_regmap_mux_get_parent(struct clk_hw *hw)
|
||||
{
|
||||
@ -174,14 +174,14 @@ const struct clk_ops clk_regmap_mux_ops = {
|
||||
.set_parent = clk_regmap_mux_set_parent,
|
||||
.determine_rate = clk_regmap_mux_determine_rate,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_mux_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_mux_ops, "CLK_MESON");
|
||||
|
||||
const struct clk_ops clk_regmap_mux_ro_ops = {
|
||||
.get_parent = clk_regmap_mux_get_parent,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_mux_ro_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(clk_regmap_mux_ro_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic regmap backed clock driver");
|
||||
MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -477,4 +477,4 @@ module_platform_driver(g12a_aoclkc_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic G12A Always-ON Clock Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -5610,4 +5610,4 @@ module_platform_driver(g12a_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic G12/SM1 Main Clock Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -303,4 +303,4 @@ module_platform_driver(gxbb_aoclkc_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic GXBB Always-ON Clock Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -3565,4 +3565,4 @@ module_platform_driver(gxbb_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic GXBB Main Clock Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -88,8 +88,8 @@ int meson_aoclkc_probe(struct platform_device *pdev)
|
||||
|
||||
return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(meson_aoclkc_probe, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_aoclkc_probe, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic Always-ON Clock Controller helpers");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -20,8 +20,8 @@ struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_da
|
||||
|
||||
return data->hws[idx];
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_hw_get, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_clk_hw_get, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic Clock Controller Utilities");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -57,8 +57,8 @@ int meson_eeclkc_probe(struct platform_device *pdev)
|
||||
|
||||
return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(meson_eeclkc_probe, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_eeclkc_probe, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic Main Clock Controller Helpers");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -3814,4 +3814,4 @@ module_platform_driver(s4_driver);
|
||||
MODULE_DESCRIPTION("Amlogic S4 Peripherals Clock Controller driver");
|
||||
MODULE_AUTHOR("Yu Tu <yu.tu@amlogic.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -872,4 +872,4 @@ module_platform_driver(s4_driver);
|
||||
MODULE_DESCRIPTION("Amlogic S4 PLL Clock Controller driver");
|
||||
MODULE_AUTHOR("Yu Tu <yu.tu@amlogic.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
@ -247,9 +247,9 @@ const struct clk_ops meson_sclk_div_ops = {
|
||||
.set_duty_cycle = sclk_div_set_duty_cycle,
|
||||
.init = sclk_div_init,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(meson_sclk_div_ops, CLK_MESON);
|
||||
EXPORT_SYMBOL_NS_GPL(meson_sclk_div_ops, "CLK_MESON");
|
||||
|
||||
MODULE_DESCRIPTION("Amlogic Sample divider driver");
|
||||
MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_IMPORT_NS(CLK_MESON);
|
||||
MODULE_IMPORT_NS("CLK_MESON");
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user