summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/include/asm/mach-ralink
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-31 18:53:31 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-31 18:53:31 +0000
commit789ea10d57657ce479bbdf3d0e2dd9264510faaa (patch)
tree1030f66d8c993028d3f52bff663fc35b947d3278 /target/linux/ramips/files/arch/mips/include/asm/mach-ralink
parenta43a8c98647194afa5528fd3afe26ea0b0781403 (diff)
[ramips] use common get_system_type function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17455 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink')
-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;