summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
03e2dbb)
Fix compiler warning introduced by commit
0f8cbc18
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
+int is_sata_supported(void)
{
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
uint devdisr = gur->devdisr;
{
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
uint devdisr = gur->devdisr;
/* NOTREACHED - relocate_code() does not return */
}
/* NOTREACHED - relocate_code() does not return */
}
-int __is_sata_supported()
+int __is_sata_supported(void)
{
/* For some boards, when sata disabled by the switch, and the
* driver still access the sata registers, the cpu will hangup.
{
/* For some boards, when sata disabled by the switch, and the
* driver still access the sata registers, the cpu will hangup.
* board have such issue.*/
return 1;
}
* board have such issue.*/
return 1;
}
-int is_sata_supported() __attribute__((weak, alias("__is_sata_supported")));
+int is_sata_supported(void) __attribute__((weak, alias("__is_sata_supported")));
/************************************************************************
*
/************************************************************************
*