diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-11-19 09:06:56 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-03 05:56:27 +0300 |
commit | 26b6d5b170815ab0586ff983b4ce7c8cc19e1e81 (patch) | |
tree | 994b77144badbefd0007a8ea485214dd500a211c /arch/powerpc/platforms/iseries/pci.h | |
parent | 1e10590475b4a6d848e20c19fb22b074075c9ef3 (diff) | |
download | linux-26b6d5b170815ab0586ff983b4ce7c8cc19e1e81.tar.xz |
[POWERPC] iSeries: Declare iSeries_pci_final_fixup in pci.h
Fixes sparse warning:
arch/powerpc/platforms/iseries/pci.c:169:13: warning: symbol 'iSeries_pci_final_fixup' was not declared. Should it be static?
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries/pci.h')
-rw-r--r-- | arch/powerpc/platforms/iseries/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.h b/arch/powerpc/platforms/iseries/pci.h index 33a8489fde54..730986bc917a 100644 --- a/arch/powerpc/platforms/iseries/pci.h +++ b/arch/powerpc/platforms/iseries/pci.h @@ -59,5 +59,10 @@ static inline u64 iseries_ds_addr(struct device_node *node) } extern void iSeries_Device_Information(struct pci_dev*, int); +#ifdef CONFIG_PCI +extern void iSeries_pci_final_fixup(void); +#else +static void iSeries_pci_final_fixup(void) { } +#endif #endif /* _PLATFORMS_ISERIES_PCI_H */ |