]> git.sur5r.net Git - u-boot/commitdiff
Fix compiler warning in lib_ppc/board.c
authorHeiko Schocher <hs@denx.de>
Wed, 15 Oct 2008 07:51:19 +0000 (09:51 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 15 Oct 2008 08:38:14 +0000 (10:38 +0200)
Fix compiler warning introduced by commit 0f8cbc18

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
board/freescale/mpc8536ds/mpc8536ds.c
lib_ppc/board.c

index 3cf12fda5651accec061495e07e1e4f32c92e0ec..3066b24de7a3011eb4e56fa3c0ebdd52c54644dc 100644 (file)
@@ -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;
index 564faf2c651b1a93ad41a99746572f63e9c90456..865e74f08a6d1cdcc1a5a90ac62abdb33b4d5b57 100644 (file)
@@ -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")));
 
 /************************************************************************
  *