Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / arch / mips / mips-boards / atlas / atlas_setup.c
index 9871a91..c20d401 100644 (file)
@@ -15,6 +15,7 @@
  *  with this program; if not, write to the Free Software Foundation, Inc.,
  *  59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
  */
+#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
@@ -35,6 +36,7 @@
 
 extern void mips_reboot_setup(void);
 extern void mips_time_init(void);
+extern void mips_timer_setup(struct irqaction *irq);
 extern unsigned long mips_rtc_get_time(void);
 
 #ifdef CONFIG_KGDB
@@ -48,7 +50,7 @@ const char *get_system_type(void)
        return "MIPS Atlas";
 }
 
-void __init plat_mem_setup(void)
+void __init plat_setup(void)
 {
        mips_pcibios_init();
 
@@ -62,6 +64,7 @@ void __init plat_mem_setup(void)
        mips_reboot_setup();
 
        board_time_init = mips_time_init;
+       board_timer_setup = mips_timer_setup;
        rtc_mips_get_time = mips_rtc_get_time;
 }