projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf24200
)
sh: pci: Fix up the build for CONFIG_PCI=n.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Apr 2009 06:39:39 +0000
(15:39 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Apr 2009 06:39:39 +0000
(15:39 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/pci.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/asm/pci.h
b/arch/sh/include/asm/pci.h
index f910121559b0193dc3f04952ad124e450533b162..5b2e0fcdfc22b453dba421c97297237c6b25327d 100644
(file)
--- 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)
#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0)
#endif
+#ifdef CONFIG_PCI
static inline void pci_dma_burst_advice(struct pci_dev *pdev,
enum pci_dma_burst_strategy *strat,
unsigned long *strategy_parameter)
@@
-95,6
+96,7
@@
static inline void pci_dma_burst_advice(struct pci_dev *pdev,
*strat = PCI_DMA_BURST_INFINITY;
*strategy_parameter = ~0UL;
}
+#endif
#ifdef CONFIG_SUPERH32
/*