[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
[pandora-kernel.git] / arch / mips / basler / excite / excite_setup.c
index 005b025..a1ce458 100644 (file)
@@ -19,7 +19,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -79,7 +78,7 @@ static void excite_timer_init(void)
        mips_hpt_frequency = EXCITE_CPU_EXT_CLOCK * mult / div / 2;
 }
 
-static void excite_timer_setup(struct irqaction *irq)
+void __init plat_timer_setup(struct irqaction *irq)
 {
        /* The eXcite platform uses the alternate timer interrupt */
        set_c0_intcontrol(0x80);
@@ -254,7 +253,7 @@ static int __init excite_platform_init(void)
        return 0;
 }
 
-void __init plat_setup(void)
+void __init plat_mem_setup(void)
 {
        volatile u32 * const boot_ocd_base = (u32 *) 0xbf7fc000;
 
@@ -263,7 +262,6 @@ void __init plat_setup(void)
 
        /* Set up timer initialization hooks */
        board_time_init = excite_timer_init;
-       board_timer_setup = excite_timer_setup;
 
        /* Set up the peripheral address map */
        *(boot_ocd_base + (LKB9 / sizeof (u32))) = 0;