From: Marian Balakowicz Date: Fri, 28 Oct 2005 13:29:43 +0000 (+0200) Subject: Fix conflicting types (flash_write()) in trab auto_update.c X-Git-Tag: LABEL_2006_03_12_0025~81^2~1^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=170d5e6d4cb91ff5eaccf1779918567dc1c2cb00;p=u-boot Fix conflicting types (flash_write()) in trab auto_update.c --- diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index b25928cf1f..056e562bfe 100644 --- a/board/trab/auto_update.c +++ b/board/trab/auto_update.c @@ -199,7 +199,7 @@ extern int transfer_pic(unsigned char, unsigned char *, int, int); #endif extern int flash_sect_erase(ulong, ulong); extern int flash_sect_protect (int, ulong, ulong); -extern int flash_write (uchar *, ulong, ulong); +extern int flash_write (char *, ulong, ulong); /* change char* to void* to shutup the compiler */ extern int i2c_write_multiple (uchar, uint, int, void *, int); extern int i2c_read_multiple (uchar, uint, int, void *, int);