aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/prom.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/prom.h')
-rw-r--r--arch/x86/include/asm/prom.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/prom.h b/arch/x86/include/asm/prom.h
index 971e0b46446e..dd6066a56346 100644
--- a/arch/x86/include/asm/prom.h
+++ b/arch/x86/include/asm/prom.h
@@ -31,11 +31,6 @@ extern void x86_add_irq_domains(void);
31void __cpuinit x86_of_pci_init(void); 31void __cpuinit x86_of_pci_init(void);
32void x86_dtb_init(void); 32void x86_dtb_init(void);
33 33
34static inline struct device_node *pci_device_to_OF_node(struct pci_dev *pdev)
35{
36 return pdev ? pdev->dev.of_node : NULL;
37}
38
39static inline struct device_node *pci_bus_to_OF_node(struct pci_bus *bus) 34static inline struct device_node *pci_bus_to_OF_node(struct pci_bus *bus)
40{ 35{
41 return pci_device_to_OF_node(bus->self); 36 return pci_device_to_OF_node(bus->self);