remove compile warning in ddr.c

This commit is contained in:
yangkai
2011-05-09 10:40:47 +08:00
parent b6da863ede
commit eb9b963edf
2 changed files with 2 additions and 2 deletions

View File

@@ -1369,7 +1369,7 @@ typedef struct _dtt_cnt_t
}dtt_cnt_t;
//static int __init ddr_probe(void)
int __init ddr_init(uint32_t dram_type, uint32_t freq)
int ddr_init(uint32_t dram_type, uint32_t freq)
{
volatile uint32_t value = 0;
uint32_t addr;

View File

@@ -147,7 +147,7 @@ void __sramfunc ddr_suspend(void);
void __sramfunc ddr_resume(void);
void __sramlocalfunc delayus(uint32_t us);
uint32_t __sramfunc ddr_change_freq(uint32_t nMHz);
int __init ddr_init(uint32_t dram_type, uint32_t freq);
int ddr_init(uint32_t dram_type, uint32_t freq);
#endif