aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/pci.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-01 21:09:18 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-03-02 18:22:51 -0500
commitf6d0f9ea55277a49ef6c86a768acec021451b139 (patch)
treeb226be7439b37d25120fb767422876cf5b257d35 /include/asm-sparc/pci.h
parent45bcca67ed6437815305fdef38f441358b6a7756 (diff)
[SPARC]: Provide pci_device_to_OF_node() just like powerpc.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/pci.h')
-rw-r--r--include/asm-sparc/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc/pci.h b/include/asm-sparc/pci.h
index 38644742f011..a750c688408b 100644
--- a/include/asm-sparc/pci.h
+++ b/include/asm-sparc/pci.h
@@ -165,6 +165,9 @@ static inline int pci_dma_mapping_error(dma_addr_t dma_addr)
165 return (dma_addr == PCI_DMA_ERROR_CODE); 165 return (dma_addr == PCI_DMA_ERROR_CODE);
166} 166}
167 167
168struct device_node;
169extern struct device_node *pci_device_to_OF_node(struct pci_dev *pdev);
170
168#endif /* __KERNEL__ */ 171#endif /* __KERNEL__ */
169 172
170/* generic pci stuff */ 173/* generic pci stuff */