浏览代码

ppc4xx: Fix compile warning in 44x_spd_ddr2.c

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 17 年之前
父节点
当前提交
69e2c6d0d1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cpu/ppc4xx/44x_spd_ddr2.c

+ 2 - 2
cpu/ppc4xx/44x_spd_ddr2.c

@@ -60,7 +60,7 @@
 		       "SDRAM_" #mnemonic, SDRAM_##mnemonic, data);	\
 	} while (0)
 
-static void ppc4xx_ibm_ddr2_register_dump(void);
+static inline void ppc4xx_ibm_ddr2_register_dump(void);
 
 #if defined(CONFIG_SPD_EEPROM)
 
@@ -3078,7 +3078,7 @@ phys_size_t initdram(int board_type)
 }
 #endif /* CONFIG_SPD_EEPROM */
 
-static void ppc4xx_ibm_ddr2_register_dump(void)
+static inline void ppc4xx_ibm_ddr2_register_dump(void)
 {
 #if defined(DEBUG)
 	printf("\nPPC4xx IBM DDR2 Register Dump:\n");