sh: pci: Fix up the build for CONFIG_PCI=n.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
cf242007a1
commit
3e98f9f15e
@ -88,6 +88,7 @@ static inline void pcibios_penalize_isa_irq(int irq, int active)
|
|||||||
#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0)
|
#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
static inline void pci_dma_burst_advice(struct pci_dev *pdev,
|
static inline void pci_dma_burst_advice(struct pci_dev *pdev,
|
||||||
enum pci_dma_burst_strategy *strat,
|
enum pci_dma_burst_strategy *strat,
|
||||||
unsigned long *strategy_parameter)
|
unsigned long *strategy_parameter)
|
||||||
@ -95,6 +96,7 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
|
|||||||
*strat = PCI_DMA_BURST_INFINITY;
|
*strat = PCI_DMA_BURST_INFINITY;
|
||||||
*strategy_parameter = ~0UL;
|
*strategy_parameter = ~0UL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SUPERH32
|
#ifdef CONFIG_SUPERH32
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user