use common get_system_type function
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / setup.c
index 3aa6c9b9fa78da988d3d92c9ad4cda9b10d4812c..ac945b8beedee2ebcb0f88e51205e1f89e6fc8ed 100644 (file)
@@ -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);