diff options
author | Heiko Schocher <hs@denx.de> | 2008-10-15 09:51:19 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-15 10:38:14 +0200 |
commit | 374b9038293d01d8744a46af9b7854a6fd99b228 (patch) | |
tree | 5cd16eb041e97e316f350cbfda74272ca05284cc | |
parent | 03e2dbb18e858e2f7a6aaa437f290f3690d02d51 (diff) | |
download | u-boot-imx-374b9038293d01d8744a46af9b7854a6fd99b228.zip u-boot-imx-374b9038293d01d8744a46af9b7854a6fd99b228.tar.gz u-boot-imx-374b9038293d01d8744a46af9b7854a6fd99b228.tar.bz2 |
Fix compiler warning in lib_ppc/board.c
Fix compiler warning introduced by commit 0f8cbc18
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r-- | board/freescale/mpc8536ds/mpc8536ds.c | 2 | ||||
-rw-r--r-- | lib_ppc/board.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index 3cf12fd..3066b24 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -608,7 +608,7 @@ get_board_ddr_clk(ulong dummy) } #endif -int is_sata_supported() +int is_sata_supported(void) { volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR); uint devdisr = gur->devdisr; diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 564faf2..865e74f 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -635,7 +635,7 @@ void board_init_f (ulong bootflag) /* 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. @@ -643,7 +643,7 @@ int __is_sata_supported() * 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"))); /************************************************************************ * |