use common get_system_type function
SVN-Revision: 17455
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user