aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h3
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h4
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h4
3 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
index 240951bb1b..250e5a7787 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
@@ -9,6 +9,9 @@
#ifndef __ASM_MACH_RALINK_COMMON_H
#define __ASM_MACH_RALINK_COMMON_H
+#define RAMIPS_SYS_TYPE_LEN 64
+extern unsigned char ramips_sys_type[RAMIPS_SYS_TYPE_LEN];
+
void __init ramips_intc_irq_init(unsigned intc_base, unsigned irq,
unsigned irq_base);
u32 ramips_intc_get_status(void);
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h
index 4e0e36e8ec..85331a5ba9 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h
@@ -18,10 +18,6 @@
#include <linux/io.h>
void rt288x_detect_sys_type(void) __init;
-
-#define RT288X_SYS_TYPE_LEN 64
-extern unsigned char rt288x_sys_type[RT288X_SYS_TYPE_LEN];
-
void rt288x_detect_sys_freq(void) __init;
extern unsigned long rt288x_cpu_freq;
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h
index c94f28c45e..c9d5b4458b 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h
@@ -17,10 +17,6 @@
#include <linux/io.h>
void rt305x_detect_sys_type(void) __init;
-
-#define RT305X_SYS_TYPE_LEN 64
-extern unsigned char rt305x_sys_type[RT305X_SYS_TYPE_LEN];
-
void rt305x_detect_sys_freq(void) __init;
extern unsigned long rt305x_cpu_freq;