mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
remove compile warning in ddr.c
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user