]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/pci.h
Merge /spare/repo/netdev-2.6 branch 'ieee80211'
[linux-2.6] / include / asm-ppc / pci.h
index 669e9de7a5259c179b9cf2bd8f838e2912324df3..db0a2a0ec74d9727ac724967271dd18ad7ab6cc1 100644 (file)
@@ -69,6 +69,7 @@ extern unsigned long pci_bus_to_phys(unsigned int ba, int busnr);
 #define pci_unmap_len(PTR, LEN_NAME)           (0)
 #define pci_unmap_len_set(PTR, LEN_NAME, VAL)  do { } while (0)
 
+#ifdef CONFIG_PCI
 static inline void pci_dma_burst_advice(struct pci_dev *pdev,
                                        enum pci_dma_burst_strategy *strat,
                                        unsigned long *strategy_parameter)
@@ -76,6 +77,7 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
        *strat = PCI_DMA_BURST_INFINITY;
        *strategy_parameter = ~0UL;
 }
+#endif
 
 /*
  * At present there are very few 32-bit PPC machines that can have