[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1265830957-6966-1-git-send-email-jslaby@suse.cz>
Date: Wed, 10 Feb 2010 20:42:37 +0100
From: Jiri Slaby <jslaby@...e.cz>
To: mchehab@...hat.com
Cc: linux-kernel@...r.kernel.org, jirislaby@...il.com,
Aristeu Sergio <arozansk@...hat.com>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-pci@...r.kernel.org, x86@...nel.org
Subject: [PATCH 1/1] X86: pci, fix section mismatch
pcibios_scan_specific_bus calls pci_scan_bus_on_node which is
__devinit. Mark pcibios_scan_specific_bus __devinit as well since
all users are now __init or __devinit.
Signed-off-by: Jiri Slaby <jslaby@...e.cz>
Cc: Aristeu Sergio <arozansk@...hat.com>
Cc: Mauro Carvalho Chehab <mchehab@...hat.com>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>
Cc: linux-pci@...r.kernel.org
Cc: x86@...nel.org
---
arch/x86/pci/legacy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
index a8194c8..8cf7835 100644
--- a/arch/x86/pci/legacy.c
+++ b/arch/x86/pci/legacy.c
@@ -39,7 +39,7 @@ static int __init pci_legacy_init(void)
return 0;
}
-void pcibios_scan_specific_bus(int busn)
+void __devinit pcibios_scan_specific_bus(int busn)
{
int devfn;
long node;
--
1.6.6.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists