diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-08-31 18:53:34 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-08-31 18:53:34 +0000 |
commit | be7ba8de2fdef858152092df620fd82981659d50 (patch) | |
tree | 2971914b5bc003f8c4c869f601dfa41806714fb9 /target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c | |
parent | 789ea10d57657ce479bbdf3d0e2dd9264510faaa (diff) |
[ramips] share machine registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c index 05184f0bd8..8dc4b3c32a 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c @@ -24,8 +24,6 @@ #include <asm/mach-ralink/rt288x.h> #include <asm/mach-ralink/rt288x_regs.h> -unsigned long rt288x_mach_type; - static void rt288x_restart(char *command) { rt288x_sysc_wr(RT2880_RESET_SYSTEM, SYSC_REG_RESET_CTRL); @@ -101,12 +99,3 @@ void __init plat_time_init(void) { mips_hpt_frequency = rt288x_cpu_freq / 2; } - -static int __init rt288x_machine_setup(void) -{ - mips_machine_setup(rt288x_mach_type); - - return 0; -} - -arch_initcall(rt288x_machine_setup); |