summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-02-17 13:23:03 +0100
committerLen Brown <len.brown@intel.com>2008-02-21 02:56:32 -0500
commitb5678a34762edf2c8de1c60c125fea42a8c17e63 (patch)
tree0037e7dc6131f511c99db6ea3d8cf841ca9aebee /drivers
parent7560e385651c60e5ffdf07cb94fa7d1658ab0b7a (diff)
downloadop-kernel-dev-b5678a34762edf2c8de1c60c125fea42a8c17e63.zip
op-kernel-dev-b5678a34762edf2c8de1c60c125fea42a8c17e63.tar.gz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/pci_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index f14ff1f..c3fed31 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;
OpenPOWER on IntegriCloud