[U-Boot-Users] [PATCH] remove warning of const casting in fpga_no_sup

Signed-off-by: Eran Liberty
diff -x .svn -Nuar u-boot.git-5ffa76a032279bc6d3230b703eda32d13305ba13/common/fpga.c u-boot.exsw6000/common/fpga.c --- u-boot.git-5ffa76a032279bc6d3230b703eda32d13305ba13/common/fpga.c 2007-06-18 22:38:46.000000000 +0300 +++ u-boot.exsw6000/common/fpga.c 2007-06-20 19:05:00.000000000 +0300 @@ -64,7 +64,7 @@ /* fpga_no_sup * 'no support' message function */ -static void fpga_no_sup( char *fn, char *msg ) +static void fpga_no_sup(const char *fn,const char *msg ) { if ( fn && msg ) { printf( "%s: No support for %s. CONFIG_FPGA defined as 0x%x.\n", @@ -207,10 +207,6 @@ memset( desc_table, 0, sizeof(desc_table));
PRINTF( "%s: CONFIG_FPGA = 0x%x\n", __FUNCTION__, CONFIG_FPGA ); -#if 0 - PRINTF( "%s: CFG_FPGA_XILINX = 0x%x\n", __FUNCTION__, CFG_FPGA_XILINX ); - PRINTF( "%s: CFG_FPGA_ALTERA = 0x%x\n", __FUNCTION__, CFG_FPGA_ALTERA ); -#endif }
/* fpga_count
participants (1)
-
eran liberty