diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/gt64120.h | 5 | ||||
-rw-r--r-- | include/asm-mips/i8253.h | 6 | ||||
-rw-r--r-- | include/asm-mips/sibyte/sb1250.h | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/include/asm-mips/gt64120.h b/include/asm-mips/gt64120.h index 4bf8e28f8850..e64b41093c49 100644 --- a/include/asm-mips/gt64120.h +++ b/include/asm-mips/gt64120.h | |||
@@ -21,6 +21,8 @@ | |||
21 | #ifndef _ASM_GT64120_H | 21 | #ifndef _ASM_GT64120_H |
22 | #define _ASM_GT64120_H | 22 | #define _ASM_GT64120_H |
23 | 23 | ||
24 | #include <linux/clocksource.h> | ||
25 | |||
24 | #include <asm/addrspace.h> | 26 | #include <asm/addrspace.h> |
25 | #include <asm/byteorder.h> | 27 | #include <asm/byteorder.h> |
26 | 28 | ||
@@ -572,4 +574,7 @@ | |||
572 | #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs)) | 574 | #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs)) |
573 | #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le32(data)) | 575 | #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le32(data)) |
574 | 576 | ||
577 | extern void gt641xx_set_base_clock(unsigned int clock); | ||
578 | extern int gt641xx_timer0_state(void); | ||
579 | |||
575 | #endif /* _ASM_GT64120_H */ | 580 | #endif /* _ASM_GT64120_H */ |
diff --git a/include/asm-mips/i8253.h b/include/asm-mips/i8253.h index 8f689d7df6b1..affb32ce4af9 100644 --- a/include/asm-mips/i8253.h +++ b/include/asm-mips/i8253.h | |||
@@ -2,8 +2,8 @@ | |||
2 | * Machine specific IO port address definition for generic. | 2 | * Machine specific IO port address definition for generic. |
3 | * Written by Osamu Tomita <tomita@cinet.co.jp> | 3 | * Written by Osamu Tomita <tomita@cinet.co.jp> |
4 | */ | 4 | */ |
5 | #ifndef _MACH_IO_PORTS_H | 5 | #ifndef __ASM_I8253_H |
6 | #define _MACH_IO_PORTS_H | 6 | #define __ASM_I8253_H |
7 | 7 | ||
8 | /* i8253A PIT registers */ | 8 | /* i8253A PIT registers */ |
9 | #define PIT_MODE 0x43 | 9 | #define PIT_MODE 0x43 |
@@ -27,4 +27,4 @@ | |||
27 | 27 | ||
28 | extern void setup_pit_timer(void); | 28 | extern void setup_pit_timer(void); |
29 | 29 | ||
30 | #endif /* !_MACH_IO_PORTS_H */ | 30 | #endif /* __ASM_I8253_H */ |
diff --git a/include/asm-mips/sibyte/sb1250.h b/include/asm-mips/sibyte/sb1250.h index 494aa65dcfbd..0dad844a3b5b 100644 --- a/include/asm-mips/sibyte/sb1250.h +++ b/include/asm-mips/sibyte/sb1250.h | |||
@@ -45,13 +45,11 @@ extern unsigned int soc_type; | |||
45 | extern unsigned int periph_rev; | 45 | extern unsigned int periph_rev; |
46 | extern unsigned int zbbus_mhz; | 46 | extern unsigned int zbbus_mhz; |
47 | 47 | ||
48 | extern void sb1250_hpt_setup(void); | ||
49 | extern void sb1250_time_init(void); | 48 | extern void sb1250_time_init(void); |
50 | extern void sb1250_mask_irq(int cpu, int irq); | 49 | extern void sb1250_mask_irq(int cpu, int irq); |
51 | extern void sb1250_unmask_irq(int cpu, int irq); | 50 | extern void sb1250_unmask_irq(int cpu, int irq); |
52 | extern void sb1250_smp_finish(void); | 51 | extern void sb1250_smp_finish(void); |
53 | 52 | ||
54 | extern void bcm1480_hpt_setup(void); | ||
55 | extern void bcm1480_time_init(void); | 53 | extern void bcm1480_time_init(void); |
56 | extern void bcm1480_mask_irq(int cpu, int irq); | 54 | extern void bcm1480_mask_irq(int cpu, int irq); |
57 | extern void bcm1480_unmask_irq(int cpu, int irq); | 55 | extern void bcm1480_unmask_irq(int cpu, int irq); |