projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207a130
)
sh64: Fix up PCI section mismatch warnings.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 20 Jul 2007 04:14:07 +0000
(13:14 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 20 Jul 2007 04:14:07 +0000
(13:14 +0900)
pcibios_fixup_bus() and pcibios_setup() should be __devinit.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh64/kernel/pci_sh5.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh64/kernel/pci_sh5.c
b/arch/sh64/kernel/pci_sh5.c
index 3334f99b5835f0a113514fa3e25dcf886690dbd5..388bb711f1b02ec0c46dac25723dfee1fa3a95df 100644
(file)
--- a/
arch/sh64/kernel/pci_sh5.c
+++ b/
arch/sh64/kernel/pci_sh5.c
@@
-48,7
+48,7
@@
static void __init pci_fixup_ide_bases(struct pci_dev *d)
}
DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases);
-char * __init pcibios_setup(char *str)
+char * __
dev
init pcibios_setup(char *str)
{
return str;
}
@@
-497,7
+497,7
@@
static int __init pcibios_init(void)
subsys_initcall(pcibios_init);
-void __init pcibios_fixup_bus(struct pci_bus *bus)
+void __
dev
init pcibios_fixup_bus(struct pci_bus *bus)
{
struct pci_dev *dev = bus->self;
int i;