diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-24 02:39:39 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-24 02:39:39 -0400 |
commit | 3e98f9f15e916c48dfc5231d7e6a59be7f122764 (patch) | |
tree | 75ea5d02fa448d495cd8f23f7e1785b400fbdf65 /arch | |
parent | cf242007a1eb29dcf93d1cb34713ec9b3f4a0e1b (diff) |
sh: pci: Fix up the build for CONFIG_PCI=n.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/include/asm/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/pci.h b/arch/sh/include/asm/pci.h index f910121559b0..5b2e0fcdfc22 100644 --- a/arch/sh/include/asm/pci.h +++ b/arch/sh/include/asm/pci.h | |||
@@ -88,6 +88,7 @@ static inline void pcibios_penalize_isa_irq(int irq, int active) | |||
88 | #define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) | 88 | #define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) |
89 | #endif | 89 | #endif |
90 | 90 | ||
91 | #ifdef CONFIG_PCI | ||
91 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | 92 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, |
92 | enum pci_dma_burst_strategy *strat, | 93 | enum pci_dma_burst_strategy *strat, |
93 | unsigned long *strategy_parameter) | 94 | unsigned long *strategy_parameter) |
@@ -95,6 +96,7 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, | |||
95 | *strat = PCI_DMA_BURST_INFINITY; | 96 | *strat = PCI_DMA_BURST_INFINITY; |
96 | *strategy_parameter = ~0UL; | 97 | *strategy_parameter = ~0UL; |
97 | } | 98 | } |
99 | #endif | ||
98 | 100 | ||
99 | #ifdef CONFIG_SUPERH32 | 101 | #ifdef CONFIG_SUPERH32 |
100 | /* | 102 | /* |