]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/platforms/iseries/pci.h
powerpc/pmac: Use string library in nvram code
[karo-tx-linux.git] / arch / powerpc / platforms / iseries / pci.h
index b14287342129616e800e0497b8a81f2917f55ce3..d9cf974c2718d12410073d4d23ddf8e470080934 100644 (file)
  * End Change Activity
  */
 
-#include <asm/iseries/hv_types.h>
-
-struct pci_dev;                                /* For Forward Reference */
-
 /*
  * Decodes Linux DevFn to iSeries DevFn, bridge device, or function.
  * For Linux, see PCI_SLOT and PCI_FUNC in include/linux/pci.h
@@ -47,14 +43,16 @@ struct pci_dev;                             /* For Forward Reference */
 #define ISERIES_GET_DEVICE_FROM_SUBBUS(subbus)         ((subbus >> 5) & 0x7)
 #define ISERIES_GET_FUNCTION_FROM_SUBBUS(subbus)       ((subbus >> 2) & 0x7)
 
-extern void    iSeries_Device_Information(struct pci_dev *PciDev, int count,
-                       u16 bus, HvSubBusNumber subbus);
+struct pci_dev;
+
 #ifdef CONFIG_PCI
 extern void    iSeries_pcibios_init(void);
 extern void    iSeries_pci_final_fixup(void);
+extern void    iSeries_pcibios_fixup_resources(struct pci_dev *dev);
 #else
 static inline void     iSeries_pcibios_init(void) { }
 static inline void     iSeries_pci_final_fixup(void) { }
+static inline void     iSeries_pcibios_fixup_resources(struct pci_dev *dev) {}
 #endif
 
 #endif /* _PLATFORMS_ISERIES_PCI_H */