mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] use common get_system_type function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17455 3c298f89-4303-0410-b956-a3cf2f4a3e73
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