Skip to content

Commit

Permalink
mfd: intel-m10-bmc: Move core symbols to own namespace
Browse files Browse the repository at this point in the history
Create INTEL_M10_BMC_CORE namespace for symbols exported by
intel-m10-bmc-core.

Reviewed-by: Russ Weight <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Xu Yilun <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
ij-intel authored and lag-linaro committed Jun 15, 2023
1 parent 425f6a4 commit b3ecc7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mfd/intel-m10-bmc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const struct attribute_group *m10bmc_dev_groups[] = {
&m10bmc_group,
NULL,
};
EXPORT_SYMBOL_GPL(m10bmc_dev_groups);
EXPORT_SYMBOL_NS_GPL(m10bmc_dev_groups, INTEL_M10_BMC_CORE);

int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platform_info *info)
{
Expand All @@ -115,7 +115,7 @@ int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platf

return ret;
}
EXPORT_SYMBOL_GPL(m10bmc_dev_init);
EXPORT_SYMBOL_NS_GPL(m10bmc_dev_init, INTEL_M10_BMC_CORE);

MODULE_DESCRIPTION("Intel MAX 10 BMC core driver");
MODULE_AUTHOR("Intel Corporation");
Expand Down
1 change: 1 addition & 0 deletions drivers/mfd/intel-m10-bmc-pmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,3 +453,4 @@ module_dfl_driver(m10bmc_pmci_driver);
MODULE_DESCRIPTION("MAX10 BMC PMCI-based interface");
MODULE_AUTHOR("Intel Corporation");
MODULE_LICENSE("GPL");
MODULE_IMPORT_NS(INTEL_M10_BMC_CORE);
1 change: 1 addition & 0 deletions drivers/mfd/intel-m10-bmc-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,4 @@ MODULE_DESCRIPTION("Intel MAX 10 BMC SPI bus interface");
MODULE_AUTHOR("Intel Corporation");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("spi:intel-m10-bmc");
MODULE_IMPORT_NS(INTEL_M10_BMC_CORE);

0 comments on commit b3ecc7f

Please sign in to comment.