[MIPS] WRPPMC: Fix build.
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / mips / gt64120 / wrppmc / setup.c
index 429afc4..ea96552 100644 (file)
@@ -93,9 +93,8 @@ void __init wrppmc_early_printk(const char *fmt, ...)
 }
 #endif /* WRPPMC_EARLY_DEBUG */
 
-unsigned long __init prom_free_prom_memory(void)
+void __init prom_free_prom_memory(void)
 {
-       return 0;
 }
 
 #ifdef CONFIG_SERIAL_8250
@@ -159,8 +158,8 @@ const char *get_system_type(void)
  */
 void __init prom_init(void)
 {
-       mips_machgroup = MACH_GROUP_GALILEO;
-       mips_machtype = MACH_EV64120A;
+       mips_machgroup = MACH_GROUP_WINDRIVER;
+       mips_machtype = MACH_WRPPMC;
 
        add_memory_region(WRPPMC_SDRAM_SCS0_BASE, WRPPMC_SDRAM_SCS0_SIZE, BOOT_MEM_RAM);
        add_memory_region(WRPPMC_BOOTROM_BASE, WRPPMC_BOOTROM_SIZE, BOOT_MEM_ROM_DATA);