提交 b5678a34 编写于 作者: S Sam Ravnborg 提交者: Len Brown

ACPI: fix section mismatch in acpi_pci_root_add

Fix following warning:
WARNING: vmlinux.o(.text+0x550e85): Section mismatch in reference from the function acpi_pci_root_add() to the function .devinit.text:pci_acpi_scan_root()

acpi_pci_root_add uses a __devinit annotated function and
it looks like annotating it __devinit too is the correct fix.
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 7560e385
...@@ -184,7 +184,7 @@ static void acpi_pci_bridge_scan(struct acpi_device *device) ...@@ -184,7 +184,7 @@ static void acpi_pci_bridge_scan(struct acpi_device *device)
} }
} }
static int acpi_pci_root_add(struct acpi_device *device) static int __devinit acpi_pci_root_add(struct acpi_device *device)
{ {
int result = 0; int result = 0;
struct acpi_pci_root *root = NULL; struct acpi_pci_root *root = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册