]> err.no Git - linux-2.6/commit
ACPI: fix section mismatch in acpi_pci_root_add
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Feb 2008 12:23:03 +0000 (13:23 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 21 Feb 2008 07:56:32 +0000 (02:56 -0500)
commitb5678a34762edf2c8de1c60c125fea42a8c17e63
tree0037e7dc6131f511c99db6ea3d8cf841ca9aebee
parent7560e385651c60e5ffdf07cb94fa7d1658ab0b7a
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: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_root.c