Benjamin Herrenschmidt | 55190f8 | 2011-09-19 17:44:52 +0000 | [diff] [blame] | 1 | #ifndef _POWERNV_H |
| 2 | #define _POWERNV_H |
| 3 | |
| 4 | #ifdef CONFIG_SMP |
| 5 | extern void pnv_smp_init(void); |
| 6 | #else |
| 7 | static inline void pnv_smp_init(void) { } |
| 8 | #endif |
| 9 | |
Benjamin Herrenschmidt | 61305a9 | 2011-09-19 17:45:05 +0000 | [diff] [blame] | 10 | #ifdef CONFIG_PCI |
| 11 | extern void pnv_pci_init(void); |
Benjamin Herrenschmidt | 73ed148 | 2013-05-10 16:59:18 +1000 | [diff] [blame] | 12 | extern void pnv_pci_shutdown(void); |
Benjamin Herrenschmidt | 61305a9 | 2011-09-19 17:45:05 +0000 | [diff] [blame] | 13 | #else |
| 14 | static inline void pnv_pci_init(void) { } |
Benjamin Herrenschmidt | 73ed148 | 2013-05-10 16:59:18 +1000 | [diff] [blame] | 15 | static inline void pnv_pci_shutdown(void) { } |
Benjamin Herrenschmidt | 61305a9 | 2011-09-19 17:45:05 +0000 | [diff] [blame] | 16 | #endif |
| 17 | |
Benjamin Herrenschmidt | 3fafe9c | 2013-07-15 13:03:11 +1000 | [diff] [blame] | 18 | extern void pnv_lpc_init(void); |
| 19 | |
Benjamin Herrenschmidt | 55190f8 | 2011-09-19 17:44:52 +0000 | [diff] [blame] | 20 | #endif /* _POWERNV_H */ |