[ramips] use common get_system_type function
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / common.h
index 240951bb1b760b4185b1a42f785bd8494734787f..250e5a7787f4569d4469a45763078d509eedee94 100644 (file)
@@ -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);