ppc4xx: Fix compile warning in 44x_spd_ddr2.c
authorStefan Roese <sr@denx.de>
Fri, 11 Jul 2008 11:10:56 +0000 (13:10 +0200)
committerStefan Roese <sr@denx.de>
Fri, 11 Jul 2008 11:18:14 +0000 (13:18 +0200)
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/44x_spd_ddr2.c

index 65dd5d92447e5f944776581964fcd0e134a16fbe..ec1765e171c39f0ea8fcdd2d123567495c44ea6d 100644 (file)
@@ -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");