提交 27e932a3 编写于 作者: S Shuai Xue 提交者: Rafael J. Wysocki

ACPI: APEI: rename ghes_init() with an "acpi_" prefix

ghes_init() sticks out in acpi_init() because it is the only functions
without an "acpi_" prefix.

Rename ghes_init with an "acpi_" prefix, then all looks fine.
Signed-off-by: NShuai Xue <xueshuai@linux.alibaba.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 dc4e8c07
...@@ -1457,7 +1457,7 @@ static struct platform_driver ghes_platform_driver = { ...@@ -1457,7 +1457,7 @@ static struct platform_driver ghes_platform_driver = {
.remove = ghes_remove, .remove = ghes_remove,
}; };
void __init ghes_init(void) void __init acpi_ghes_init(void)
{ {
int rc; int rc;
......
...@@ -1332,7 +1332,7 @@ static int __init acpi_init(void) ...@@ -1332,7 +1332,7 @@ static int __init acpi_init(void)
pci_mmcfg_late_init(); pci_mmcfg_late_init();
acpi_iort_init(); acpi_iort_init();
acpi_hest_init(); acpi_hest_init();
ghes_init(); acpi_ghes_init();
acpi_scan_init(); acpi_scan_init();
acpi_ec_init(); acpi_ec_init();
acpi_debugfs_init(); acpi_debugfs_init();
......
...@@ -27,10 +27,10 @@ extern int hest_disable; ...@@ -27,10 +27,10 @@ extern int hest_disable;
extern int erst_disable; extern int erst_disable;
#ifdef CONFIG_ACPI_APEI_GHES #ifdef CONFIG_ACPI_APEI_GHES
extern bool ghes_disable; extern bool ghes_disable;
void __init ghes_init(void); void __init acpi_ghes_init(void);
#else #else
#define ghes_disable 1 #define ghes_disable 1
static inline void ghes_init(void) { } static inline void acpi_ghes_init(void) { }
#endif #endif
#ifdef CONFIG_ACPI_APEI #ifdef CONFIG_ACPI_APEI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册