diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-17 13:23:03 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-21 02:56:32 -0500 |
commit | b5678a34762edf2c8de1c60c125fea42a8c17e63 (patch) | |
tree | 0037e7dc6131f511c99db6ea3d8cf841ca9aebee | |
parent | 7560e385651c60e5ffdf07cb94fa7d1658ab0b7a (diff) |
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>
-rw-r--r-- | drivers/acpi/pci_root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index f14ff1ffab2..c3fed31166b 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c @@ -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; struct acpi_pci_root *root = NULL; |