提交 031f30d2 编写于 作者: K Kristen Carlson Accardi 提交者: Greg Kroah-Hartman

acpiphp: Link-time error for PCI Hotplug

	I'm seeing:
 `acpiphp_glue_exit' referenced in section `.init.text' of
drivers/built-in.o: defined in discarded section `.exit.text' of
drivers/built-in.o

when trying to compile an IA64 kernel with PCI hotplug enabled.

I suggest this patch:
Signed-off-by: NPeter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: NKristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 8352e04e
无相关合并请求
...@@ -1682,7 +1682,7 @@ int __init acpiphp_glue_init(void) ...@@ -1682,7 +1682,7 @@ int __init acpiphp_glue_init(void)
* *
* This function frees all data allocated in acpiphp_glue_init() * This function frees all data allocated in acpiphp_glue_init()
*/ */
void __exit acpiphp_glue_exit(void) void acpiphp_glue_exit(void)
{ {
acpi_pci_unregister_driver(&acpi_pci_hp_driver); acpi_pci_unregister_driver(&acpi_pci_hp_driver);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部