diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-08-31 18:53:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-08-31 18:53:34 +0000 |
commit | 298202afb8c19917b1f74968388d6093b675be25 (patch) | |
tree | 3b7d671ae5b37e59c17b5c73ee92dadf40c4e0ef /target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c | |
parent | aec7426483c0ac4682b83f26e347c93b64833c17 (diff) | |
download | master-31e0f0ae-298202afb8c19917b1f74968388d6093b675be25.tar.gz master-31e0f0ae-298202afb8c19917b1f74968388d6093b675be25.tar.bz2 master-31e0f0ae-298202afb8c19917b1f74968388d6093b675be25.zip |
share machine registration code
SVN-Revision: 17456
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c index ac945b8bee..50a8be873b 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c @@ -23,10 +23,6 @@ #include <asm/mach-ralink/rt305x.h> #include <asm/mach-ralink/rt305x_regs.h> -#include "machine.h" - -enum rt305x_mach_type rt305x_mach; - static void rt305x_restart(char *command) { rt305x_sysc_wr(RT305X_RESET_SYSTEM, SYSC_REG_RESET_CTRL); @@ -103,12 +99,3 @@ void __init plat_time_init(void) { mips_hpt_frequency = rt305x_cpu_freq / 2; } - -static int __init rt305x_machine_setup(void) -{ - mips_machine_setup(rt305x_mach); - - return 0; -} - -arch_initcall(rt305x_machine_setup); |