Patchwork [14/16] x86/PCI: adjust section annotations for 'pcibios_setup()'

login
register
mail settings
Submitter Myron Stowe
Date June 26, 2012, 3:32 a.m.
Message ID <20120626033232.16434.54284.stgit@amt.stowe>
Download mbox | patch
Permalink /patch/167301/
State Accepted
Headers show

Comments

Myron Stowe - June 26, 2012, 3:32 a.m.
Make pcibios_setup() consistently use the "__init" section annotation.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
---

 arch/x86/pci/common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index 0ad990a..720e973 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -494,7 +494,7 @@  int __init pcibios_init(void)
 	return 0;
 }
 
-char * __devinit  pcibios_setup(char *str)
+char * __init pcibios_setup(char *str)
 {
 	if (!strcmp(str, "off")) {
 		pci_probe = 0;