use 0 instead of NULL in function returning int

This commit is contained in:
LevitatingBusinessMan (Rein Fernhout)
2024-12-03 02:55:45 +01:00
committed by Han Gao
parent 72c738e9ce
commit 68565d2855

View File

@@ -49,7 +49,7 @@ int get_ddr_rank_number() {
#ifdef CONFIG_DDR_MSG
DDR_DEBUG("unsupported ddr rank type!!!\n");
#endif
return NULL;
return 0;
#endif
}