diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-08-31 18:53:31 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-08-31 18:53:31 +0000 |
commit | 789ea10d57657ce479bbdf3d0e2dd9264510faaa (patch) | |
tree | 1030f66d8c993028d3f52bff663fc35b947d3278 /target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c | |
parent | a43a8c98647194afa5528fd3afe26ea0b0781403 (diff) |
[ramips] use common get_system_type function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17455 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | 7 |
1 files changed, 1 insertions, 6 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 3aa6c9b9f..ac945b8be 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c @@ -75,11 +75,6 @@ static void __init rt305x_early_serial_setup(void) err); } -const char *get_system_type(void) -{ - return rt305x_sys_type; -} - unsigned int __cpuinit get_c0_compare_irq(void) { return CP0_LEGACY_COMPARE_IRQ; @@ -93,7 +88,7 @@ void __init ramips_soc_setup(void) rt305x_detect_sys_type(); rt305x_detect_sys_freq(); - printk(KERN_INFO "%s running at %lu.%02lu MHz\n", get_system_type(), + printk(KERN_INFO "%s running at %lu.%02lu MHz\n", ramips_sys_type, rt305x_cpu_freq / 1000000, (rt305x_cpu_freq % 1000000) * 100 / 1000000); |