GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / powerpc / platforms / pasemi / pasemi.h
blobb1e524f7489dadb41028777d97bbd9b2854025c4
1 #ifndef _PASEMI_PASEMI_H
2 #define _PASEMI_PASEMI_H
4 extern unsigned long pas_get_boot_time(void);
5 extern void pas_pci_init(void);
6 extern void __devinit pas_pci_irq_fixup(struct pci_dev *dev);
7 extern void __devinit pas_pci_dma_dev_setup(struct pci_dev *dev);
9 extern void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset);
11 extern void __init alloc_iobmap_l2(void);
12 extern void __init pasemi_map_registers(void);
14 /* Power savings modes, implemented in asm */
15 extern void idle_spin(void);
16 extern void idle_doze(void);
18 /* Restore astate to last set */
19 #ifdef CONFIG_PPC_PASEMI_CPUFREQ
20 extern int check_astate(void);
21 extern void restore_astate(int cpu);
22 #else
23 static inline int check_astate(void)
25 /* Always return >0 so we never power save */
26 return 1;
28 static inline void restore_astate(int cpu)
31 #endif
34 #endif /* _PASEMI_PASEMI_H */