commit | f6d0f9ea55277a49ef6c86a768acec021451b139 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Thu Mar 01 18:09:18 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Mar 02 15:22:51 2007 -0800 |
tree | b226be7439b37d25120fb767422876cf5b257d35 | |
parent | 45bcca67ed6437815305fdef38f441358b6a7756 [diff] [blame] |
[SPARC]: Provide pci_device_to_OF_node() just like powerpc. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/include/asm-sparc/pci.h b/include/asm-sparc/pci.h index 3864474..a750c688 100644 --- a/include/asm-sparc/pci.h +++ b/include/asm-sparc/pci.h
@@ -165,6 +165,9 @@ return (dma_addr == PCI_DMA_ERROR_CODE); } +struct device_node; +extern struct device_node *pci_device_to_OF_node(struct pci_dev *pdev); + #endif /* __KERNEL__ */ /* generic pci stuff */