[MIPS] Deforest the function pointer jungle in the time code.
[firefly-linux-kernel-4.4.55.git] / arch / mips / gt64120 / wrppmc / setup.c
index 238b5087fbb36a9fe36d802c6f8b616e27376bfd..f2ccf101e6d9b830100cef86d6aadd7cae10de61 100644 (file)
@@ -126,7 +126,6 @@ static void wrppmc_setup_serial(void)
 
 void __init plat_mem_setup(void)
 {
-       extern void wrppmc_time_init(void);
        extern void wrppmc_machine_restart(char *command);
        extern void wrppmc_machine_halt(void);
        extern void wrppmc_machine_power_off(void);
@@ -135,9 +134,6 @@ void __init plat_mem_setup(void)
        _machine_halt    = wrppmc_machine_halt;
        pm_power_off     = wrppmc_machine_power_off;
 
-       /* Use MIPS Count/Compare Timer */
-       board_time_init   = wrppmc_time_init;
-
        /* This makes the operations of 'in/out[bwl]' to the
         * physical address ( < KSEG0) can work via KSEG1
         */