diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-26 12:34:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 14:11:57 -0400 |
commit | ed5f6561436a1a0b38f4130bdb1fed00f14e60b5 (patch) | |
tree | 887df01cec9f2907029a12f46788691231eac9c4 /arch/alpha/kernel/pci.c | |
parent | 55fe977187405edaaa9b2519b561e97ff1d2eeee (diff) |
deal with alpha section warnings
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/kernel/pci.c')
-rw-r--r-- | arch/alpha/kernel/pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index ab642a4f08de..9dc1cee43265 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
@@ -195,7 +195,7 @@ pcibios_init(void) | |||
195 | 195 | ||
196 | subsys_initcall(pcibios_init); | 196 | subsys_initcall(pcibios_init); |
197 | 197 | ||
198 | char * __init | 198 | char * __devinit |
199 | pcibios_setup(char *str) | 199 | pcibios_setup(char *str) |
200 | { | 200 | { |
201 | return str; | 201 | return str; |
@@ -204,7 +204,7 @@ pcibios_setup(char *str) | |||
204 | #ifdef ALPHA_RESTORE_SRM_SETUP | 204 | #ifdef ALPHA_RESTORE_SRM_SETUP |
205 | static struct pdev_srm_saved_conf *srm_saved_configs; | 205 | static struct pdev_srm_saved_conf *srm_saved_configs; |
206 | 206 | ||
207 | void __init | 207 | void __devinit |
208 | pdev_save_srm_config(struct pci_dev *dev) | 208 | pdev_save_srm_config(struct pci_dev *dev) |
209 | { | 209 | { |
210 | struct pdev_srm_saved_conf *tmp; | 210 | struct pdev_srm_saved_conf *tmp; |
@@ -247,14 +247,14 @@ pci_restore_srm_config(void) | |||
247 | } | 247 | } |
248 | #endif | 248 | #endif |
249 | 249 | ||
250 | void __init | 250 | void __devinit |
251 | pcibios_fixup_resource(struct resource *res, struct resource *root) | 251 | pcibios_fixup_resource(struct resource *res, struct resource *root) |
252 | { | 252 | { |
253 | res->start += root->start; | 253 | res->start += root->start; |
254 | res->end += root->start; | 254 | res->end += root->start; |
255 | } | 255 | } |
256 | 256 | ||
257 | void __init | 257 | void __devinit |
258 | pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) | 258 | pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) |
259 | { | 259 | { |
260 | /* Update device resources. */ | 260 | /* Update device resources. */ |
@@ -273,7 +273,7 @@ pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) | |||
273 | } | 273 | } |
274 | } | 274 | } |
275 | 275 | ||
276 | void __init | 276 | void __devinit |
277 | pcibios_fixup_bus(struct pci_bus *bus) | 277 | pcibios_fixup_bus(struct pci_bus *bus) |
278 | { | 278 | { |
279 | /* Propagate hose info into the subordinate devices. */ | 279 | /* Propagate hose info into the subordinate devices. */ |