aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/machdep.h')
-rw-r--r--include/asm-powerpc/machdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index ccc29744656e..23580cf5504c 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -26,6 +26,7 @@ struct device_node;
26struct iommu_table; 26struct iommu_table;
27struct rtc_time; 27struct rtc_time;
28struct file; 28struct file;
29struct pci_controller;
29#ifdef CONFIG_KEXEC 30#ifdef CONFIG_KEXEC
30struct kimage; 31struct kimage;
31#endif 32#endif
@@ -107,6 +108,9 @@ struct machdep_calls {
107 int (*pci_probe_mode)(struct pci_bus *); 108 int (*pci_probe_mode)(struct pci_bus *);
108 void (*pci_irq_fixup)(struct pci_dev *dev); 109 void (*pci_irq_fixup)(struct pci_dev *dev);
109 110
111 /* To setup PHBs when using automatic OF platform driver for PCI */
112 int (*pci_setup_phb)(struct pci_controller *host);
113
110 void (*restart)(char *cmd); 114 void (*restart)(char *cmd);
111 void (*power_off)(void); 115 void (*power_off)(void);
112 void (*halt)(void); 116 void (*halt)(void);